|
|
|
|
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 |
|
UraN UraN
|
Jun 3, 2004 - 11:56 AM
|
If i derive CMyDialog from CExtResizableDialog, it doesn’t resize (as i want it to behave so), but the in the right bottom corner of the dialog there is a sign, which indicates, that thw window IS resizable. And the mouse pointer, hovering across the border tells the same thing. How can i fix it. The dialog needs to be NOT resizable. ps. Maybe i need, to derive CMyDialog from a diferent class than CExtResizableDialog, or is there an easier way? p.p.s. It’s really uncomfortable without a HELP. This quick reference, insted of HELP is just a "quick reference" :)
|
|
Dmitri Doulepov
|
Jun 4, 2004 - 2:23 AM
|
|
|
Technical Support
|
Jun 4, 2004 - 3:01 AM
|
Yes that’s right. You should invoke the ShowSizeGrip(FALSE) method, which is provided by the CExtWS template class: m_Dialog.ShowSizeGrip( FALSE );//do not show bottom-right gripper The help on Prof-UIS is included into the Prof-UIS Trial, which you can download from our website. To make the work with Prof-UIS Freeware more convenient, we will include the help into the next version of Prof-UIS Freeware.
|
|
UraN UraN
|
Jun 5, 2004 - 10:12 AM
|
Strange, but
void CKeeperApp::OnAppAbout(){ CAboutDlg aboutDlg; aboutDlg.ShowSizeGrip(FALSE); aboutDlg.DoModal(); } throws an exception in ShowSizeGrip :( What’s going on?
|
|
Technical Support
|
Jun 7, 2004 - 2:02 AM
|
Hello,
The cause of this assertion is that you try to invoke the ShowSizeGrip method when the dialog window is not created yet. CAboutDlg aboutDlg;
aboutDlg.ShowSizeGrip(FALSE); // <-- dialog not created yet !!!
aboutDlg.DoModal();
|
|
Dmitri Doulepov
|
Jun 5, 2004 - 1:13 PM
|
|
|
UraN UraN
|
Jun 6, 2004 - 2:18 AM
|
|
|