BioBytes Messages: 307 Registered: October 2008 Location: France
Senior Member
Hi silverx ,
Overload the virtual method Layout() from Ctrl and Topwindow objects.
In the header file, make the following statement:
class myWindow : public WithmyWindowLayout<TopWindow> {
typedef myWindow CLASSNAME;
public:
myWindow();
private:
virtual void Layout();
};
in the cpp file, you can insert instructions to be executed while the window layout is modified if the user resizes it or when the window is displayed.