Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
scrollwindow?
#1
how do you make a scrolled window that doesnt take up the whole frame? i using Visual wx-c Developer. Please help
f only reality was like a video game *sigh*
Reply
#2
Remove the default frame sizer. I work with wxWidgets, but not with wx-c - sorry.

Regards,
Mark
Reply
#3
Quote:Remove the default frame sizer. I work with wxWidgets, but not with wx-c - sorry.

Regards,
Mark
ummm.... what's that????
f only reality was like a video game *sigh*
Reply
#4
wxWidgets is the library behind wx-c.

Sizers are the preferred mechanism to do automatic layout of controls on control containers (like forms, panels, etc...).

You find more information about sizers here.

You can find the wxWidgets documentation here.


Regards,
Mark
Reply
#5
i tried this:
Code:
wxwindow( wx_frame, 0, -1, _
    wxSize( 36, 147 ), wxSize( 700, 400 ), _
    wxDEFAULT_FRAME_STYLE or wxCLOSE_BOX xor wxMAXIMIZE_BOX xor wxRESIZE_BORDER )
but, the window did not show up. :???: any reasons why and what i do wrong?
f only reality was like a video game *sigh*
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)