Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Bangjun Lei
|
Jan 9, 2008 - 2:23 PM
|
Dear Sir./Madam.,
I’m using CExtResizableDialog as the base class of one of my dialog. Actually I want this dialog to always pop up as the size of the designed in VS. However, because I use PaintManagerStateLoad at the beginning and PaintManagerStateSave at the end of my system. This dialog is always automatically resized to the size of last designed. How can I inidcated that a dialog’s size is fixed (as design time) but not influenced by PaintManagerStateLoad?
Thanks!
|
|
Technical Support
|
Jan 10, 2008 - 2:47 AM
|
The PaintManagerStateLoad() method has nothing to do with restoring the dialog’s size. You should remove the CExtResizableDialog::EnableSaveRestore() method’s call so that the dialog’s size and position will not be saved and restored.
|
|