February 18th, 2005, 05:35 AM
Ctrls in the Child frame is not getting displayed
i have a main frame which is disabled until a click event from the child frame enables it.the problem i have is that when i run the program both the frames are displayed but the ctrls in the child frame (buttons,lables,textbox)are not getting displayed.but only when i drag the child frame and leave it the ctrls are shown.why is that so?.i tried giving a larger frame size but it is not working.
can some one help me.
February 18th, 2005, 01:37 PM
I guess you are using sizers to display the controls . Do
Layout() on the main sizer after displaying the child frame.
that should solve the problem