Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3711
Number of posts: 9173

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Show/hide scrollbar Win API ? Posted by vlad777 on 2 Apr 2010 at 11:34 AM
.


I create a window like this:

hwnd=CreateWindowEx(
                    WS_EX_APPWINDOW,
                    "MyConsole",
                    "Console",
                    WS_OVERLAPPEDWINDOW | WS_HSCROLL |WS_VSCROLL,
                    100,100,
                    500,400,
                    NULL,
		    NULL,
		    hinst,
		    NULL
                    );


How do I show/hide Scrollbars using winapi?

Please help.
Thanks.

By the way where is win api forum?

Report
Re: Show/hide scrollbar Win API ? Posted by AsmGuru62 on 2 Apr 2010 at 2:58 PM
Whole API is here:
http://msdn.microsoft.com/en-us/library/aa383686(VS.85).aspx

There is a Scroll Bar link and there is a function you need. It surprisingly called "ShowScrollBar".
Report
Re: Show/hide scrollbar Win API ? Posted by vlad777 on 2 Apr 2010 at 3:38 PM
To be even farther surprising I did try to find it before
I posted. But I looked under Window functions.

Many thanks for the link.
Report
Re: Show/hide scrollbar Win API ? Posted by anthrax11 on 2 Apr 2010 at 3:25 PM
: By the way where is win api forum?

The Windows programming board is the right place to ask WinAPI questions.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.