#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    12
    Rep Power
    0

    Ctrls in the Child frame is not getting displayed


    Hi,
    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.
    regards,
    suni16
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Location
    Bimingham,AL
    Posts
    68
    Rep Power
    11

    sizer problem


    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

IMN logo majestic logo threadwatch logo seochat tools logo