Child window

This is a discussion on Child window within the Windows Programming forums, part of the Platform Specific Boards category; How do I put scroll bars to a child window?...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    20

    Child window

    How do I put scroll bars to a child window?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Depends which kind you mean. If you mean "standard" scroll bars, then when you create you child window, specify the styles WS_VSCROLL and/or WS_HSCROLL when you call CreateWindow().

    To create a scroll bar control, specify a SCROLLBAR record in your resource file, (look it up in the help), or dynamically, call CreateWindow() specifying the SCROLLBAR window class.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  3. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21