Main navigation

  • Home
  • BikeCAD Pro
  • BikeCAD Online (Free)
  • Design Archive
  • User Guide
  • Help/ FAQ
  • Forum
  • Glossary
  • Cycling Dingbats
  • Upload a BCAD file
  • Release Notes
  • User Map
  • BikeCAD Pro Owners
  • Contact

User account menu

  • Sign up
  • Log in
Home
Bicycle Design Software

bug changing from maximized to restored window size in Windows

Andrew Heard
Framebuilder
By Andrew Heard | 7:34 PM EST, Tue January 24, 2012
BikeCAD Pro How To Forum

to reproduce:

have a bikecadpro window about 1/2 the screen size
maximize the window
close BCP then reopen
the window is displayed maximized - correct
system menu > Restore - the window is still displayed close-to-maximized instead of 1/2 the screen size - bug - the incorrect window size was saved when the program exited

I've fixed this bug in my own C# program - if saving a maximized window you need to save the "RestoredSize" & "RestoredLocation" not the current "Size" & "Location" (C# properties not Java sorry).

Brent
Profile picture for user Brent
www.bikecad.ca
Ottawa, ON Canada

Brent

14 years 4 months ago

Permalink

Saving window sizes

Thanks for the feedback. As you've noticed, when you exit from BikeCAD Pro, the size and location of all the dialog boxes is saved along with the state of the dialog boxes (i.e. whether they are turned on or off). The way you describe BikeCAD Pro working is exactly how I intended it to work. Therefore, I wouldn't have considered it a bug. However, as you've pointed out, the main BikeCAD window can also be maximized, which is effectively the same as, but technically different than, simply dragging the window to the full width and height of the screen. It never occurred to me to store this bit of information as well. However, now that you've pointed it out, I do see the value in it. I will try to do as you suggest and save the "Restored size" and location of the main window along with whether or not it was maximized.

  • Log in or register to post comments
Andrew Heard
Framebuilder

Andrew Heard

14 years 4 months ago

Permalink

In reply to Saving window sizes by Brent

yes, as a fellow programmer I

yes, as a fellow programmer I was actually very impressed to see how much effort you'd gone to in saving/ restoring individual form locations & sizes

I think you understand my point, but to put it another way, if I have a maximized main window & I click Restore, but the main window just (from a users point of view) stays maximized, then its a bug, a minor bug I can live with, I'm sure there's lots more useful changes that are higher priority

  • Log in or register to post comments
Brent
Profile picture for user Brent
www.bikecad.ca
Ottawa, ON Canada

Brent

14 years 4 months ago

Permalink

In reply to yes, as a fellow programmer I by Andrew Heard

Thanks

Thanks again for the suggestion and the guidance. I actually just got that resolved a few moments ago. I'm happy with how things are working now and look forward to getting this new version released soon.

  • Log in or register to post comments
  • Log in or register to post comments

Copyright © 1998 - 2026 The Bicycle Forest Inc. - All rights reserved

Drupal theme by Alaa Haddad