CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Karnataka, Bangalore
    Posts
    121

    Scrolling a Dialog

    hi everybody,

    I have a dialog template that is resizable with maximize,minimize buttons on it. The horizontal scroll bar and the vertical scroll bar are also set. If I scroll on these scroll bars the dialog is not scrolled. How to implement this. Please some one help me....

    With thanks and regards
    Bala


  2. #2
    Join Date
    May 1999
    Location
    CT
    Posts
    75

    Re: Scrolling a Dialog

    You need to overide OnVScroll(). To do this, use ClassWizard to add the handler function to your dialog class.


  3. #3
    Join Date
    May 1999
    Location
    CT
    Posts
    75

    Re: Scrolling a Dialog

    In your OnVScroll you need to call functions like ScrollWindow(), GetScrollPos(), and any other scrolling functions found in the CWnd class.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured