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 » Maxmize Event Collapse All
Subject Author Date
Michael chang Jun 9, 2009 - 12:39 AM

Hello.


i’m developing the application using the prof-uis version 2.82


I need to some works while calling the system command such as MAXIMIZE, MINIMIZE, CLOSE.


So, How to get the system command event such as MAXIMIZE?


 


thank you in advance.

Technical Support Jun 9, 2009 - 12:30 PM

You should handle the WM_SYSCOMMAND message in the WindowProc() virtual method of your main frame or dialog window after invoking the parent class method. The WPARAM parameter of this message can be SC_MINIMIZE, SC_MAXIMIZE or SC_RESTORE if the message is sent on [_][O][X] buttons click or on the system menu commands.