How to make the MFC controls in a Dialog/View Scrollable???

This is a discussion on How to make the MFC controls in a Dialog/View Scrollable??? within the Windows Programming forums, part of the Platform Specific Boards category; I have set the CFormView to have vertical scrollbar, however when there are more controls created in it, there isn't ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    5

    Question How to make the MFC controls in a Dialog/View Scrollable???

    I have set the CFormView to have vertical scrollbar, however when there are more controls created in it, there isn't a scroll bar to view those below. For example currently I can only get this :

    http://my.opera.com/yeya0/homes/albums/111001/shot4.JPG

    I wonder what I should do to make the View show a scrollbar to allow the user to view the buttons hidden below the buttom edge? Thanks a lot!

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Just make sure your dialog has the WS_SCROLL window style, which you can set in the dialog resource.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to make scroll bar for MFC?
    By Kristian25 in forum Windows Programming
    Replies: 4
    Last Post: 03-05-2003, 06:15 AM
  2. MFC Controls and Thread Safety :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 12-06-2002, 10:36 AM
  3. VC++6, MFC: how to make like "VB autoRedraw" ??
    By L.O.K. in forum Windows Programming
    Replies: 1
    Last Post: 12-01-2002, 11:33 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. Replies: 2
    Last Post: 03-25-2002, 04:49 AM

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