Thread: How to activate Control scroll bars ?

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    37

    Unhappy How to activate Control scroll bars ?

    Hello:

    I'd like to use Control scroll bars.
    Can anyone tell me what code I should insert in the OnHScroll and OnVScroll functions to get them working ?

    Any reply will be much appreciated.

    Thanks a lot.

    Best regards.

    Frandy

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    >>OnHScroll and OnVScroll<<

    Assuming you're using mfc, then CWnd::OnHScroll has a simple example of use that should get you started. This page seems to have a more complete example of using mfc scrollbars.

    Google MFC scrollbar example for more.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  2. Scroll Bars Are Scrolling Me Crazy
    By Iyouboushi in forum C# Programming
    Replies: 6
    Last Post: 03-03-2006, 01:43 PM
  3. Scroll Bars and Focus
    By Thantos in forum Windows Programming
    Replies: 1
    Last Post: 08-21-2003, 11:57 AM
  4. Horizontal Scroll Bars with CListBox
    By Malek in forum Windows Programming
    Replies: 1
    Last Post: 04-10-2003, 09:58 PM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM