Like Tree1Likes
  • 1 Post By megafiddle

[win32] - how use ScrollBarWindow()?

This is a discussion on [win32] - how use ScrollBarWindow()? within the Windows Programming forums, part of the Platform Specific Boards category; i never have seen how can i use the ScrollBarWindow()... i only know that it's for scroll the window. can ...

  1. #1
    Registered User
    Join Date
    Aug 2013
    Posts
    137

    [win32] - how use ScrollBarWindow()?

    i never have seen how can i use the ScrollBarWindow()... i only know that it's for scroll the window. can anyone give a simple(just using the window procedure messages)?
    (i can't find a sample)
    thanks

  2. #2
    Registered User
    Join Date
    Nov 2012
    Posts
    1,098
    Maybe you mean ScrollWindow()?

    In general you should look for windows API functions using msdn.microsoft.com:

    ScrollWindow function (Windows)

  3. #3
    Registered User
    Join Date
    Aug 2013
    Posts
    137
    Quote Originally Posted by c99tutorial View Post
    Maybe you mean ScrollWindow()?

    In general you should look for windows API functions using msdn.microsoft.com:

    ScrollWindow function (Windows)
    sorry about that my mistake
    i have read that.... but i don't understand what to do with that function
    what i mean is:
    1 - i only use that function for scroll(and show) scrollbars or that function is only for scroll?
    (that's here that i'm confused... i can't find any exemple )

  4. #4
    Registered User
    Join Date
    Mar 2011
    Posts
    419
    ScrollWindow() only scrolls an area of the window.

    Here is an example for scrolling text:

    How to Scroll Text (Windows)

    Some more information:

    About Scroll Bars (Windows)

    How to Create Scroll Bars (Windows)

    How to Scroll a Bitmap (Windows)

    There is a lot of information there in the MSDN Library. It's a little hard to find your way
    around in it at first. The Library can be downloaded and installed as a stand alone reference,
    or as an add-in for a Microsoft C IDE. It's easier to use than the MSDN website.

    Also Charles Petzold may have the source code still available for dowload at his website.
    It was intended to go along with his book, but there's a lot of examples in there too.

    -
    Last edited by megafiddle; 05-09-2014 at 12:42 PM.
    joaquim likes this.

  5. #5
    Registered User
    Join Date
    Aug 2013
    Posts
    137
    Quote Originally Posted by megafiddle View Post
    ScrollWindow() only scrolls an area of the window.

    Here is an example for scrolling text:

    How to Scroll Text (Windows)

    Some more information:

    About Scroll Bars (Windows)

    How to Create Scroll Bars (Windows)

    How to Scroll a Bitmap (Windows)

    There is a lot of information there in the MSDN Library. It's a little hard to find your way
    around in it at first. The Library can be downloaded and installed as a stand alone reference,
    or as an add-in for a Microsoft C IDE. It's easier to use than the MSDN website.

    Also Charles Petzold may have the source code still available for dowload at his website.
    It was intended to go along with his book, but there's a lot of examples in there too.

    -
    yes... the msdn, sometimes, it's dificulty to use
    thanks for all

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 API, can it inFile and outFile, like Win32 console?
    By neutral87 in forum Windows Programming
    Replies: 6
    Last Post: 05-04-2013, 07:19 AM
  2. Win32 API, can it inFile and outFile, like Win32 console?
    By neutral87 in forum C++ Programming
    Replies: 0
    Last Post: 04-28-2013, 09:22 PM
  3. Win32 Console Application event handlers, or Win32 Project?
    By Joewbarber in forum C++ Programming
    Replies: 1
    Last Post: 03-29-2013, 07:02 AM
  4. Win32 API and MFC
    By loopshot in forum C++ Programming
    Replies: 6
    Last Post: 12-07-2004, 10:58 AM
  5. Should I do win32
    By caroundw5h in forum Windows Programming
    Replies: 5
    Last Post: 06-07-2004, 09:40 PM

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