|
From: Basso, L. F. <lf...@vi...> - 2012-12-13 12:04:20
|
Hi WindowState property HWindow class stores the state of the window, if Minimized, Maximized, and is in funcition OnSize the WM_SIZE message is triggered #define SW_HIDE 0 #define SW_SHOWNORMAL 1 #define SW_NORMAL 1 #define SW_SHOWMINIMIZED 2 #define SW_SHOWMAXIMIZED 3 #define SW_MAXIMIZE 3 #define SW_SHOWNOACTIVATE 4 Regards Luis Fernando -----Mensagem Original----- From: Alexander S.Kresin Sent: Thursday, December 13, 2012 9:34 AM To: hwg...@li... Subject: [Hwgui-developers] HwGUI - the continuation Yet another typical things, which must be corrected: 1) sometimes the developer creates a class variable while there is already the one, which is intended for the same purposes. For example, the oWndParent in HMDIChildWindow, seems, does the same, what could do the oParent, inherited from HCustomWindow. Maybe, I missed something in this particular occasion, but, as far as I remember, this isn't the only occasion; BTW, adding a new class variable/method, the developer should leave a note about this in the Changelog for further investigation. 2) the situation, when the code of a parent class uses vars/methods of a child class. For example, the onSize static function in hcwindow.prg, which realizes the functionality of HCustomWindow class, uses the WindowState variable of a child HWindow class. Regards, Alexander. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Hwgui-developers mailing list Hwg...@li... https://lists.sourceforge.net/lists/listinfo/hwgui-developers |