Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » hiding default size grip of a Dialog Collapse All
Subject Author Date
alxdenisov denisov Mar 4, 2004 - 8:51 AM

Hi,


I am trying to write a new CFileDialog style class. The Base class is declared a CExtWS<CDialog> instead of CDialog. But the problem is if I enable sizing by setting the flag OFN_ENABLESIZING, the sizegrip of the FileDialog is shown instead of the Size grip drawn by CExtWS<> template. Any solution to turn off the default sizegrip?


Thanks & regards


Alex

Technical Support Mar 4, 2004 - 10:44 AM

Dear Alex,

Please invoke the ShowSizeGrip(FALSE) method, which is provided by CExtWS template class.

alxdenisov denisov Mar 5, 2004 - 1:57 AM

Hi,


ShowSizeGrip is not the solution I wanted as it effects only the CExtWS template class’s grip. But the objective was hiding the default grip that is provided by the system with a resizable file dialog. However I have found out the solution. In spy++ the default grip is shown as a scroll control having id 0xFFFFFFFF. After hiding this child ctrl i have got the solution. Thanks for your help.


regards


Alex