Min. OS req Windows 98, Windows NT 4.0 with Service Pack 6.
Tuesday, March 15, 2005
Checking Scrollbar Visibility
Call GetScrollBarInfo (NOT GetScrollInfo). Pass in a SCROLLBARINFO struct (only the cbSize field needs to be initialized in this case). On return, check the value of .rgstate[0]. If it is STATE_SYSTEM_INVISIBLE then the scroll bar is hidden. If it is STATE_SYSTEM_UNAVAILABLE, then the scroll bar has been disabled.
Min. OS req Windows 98, Windows NT 4.0 with Service Pack 6.
Min. OS req Windows 98, Windows NT 4.0 with Service Pack 6.
Subscribe to:
Post Comments (Atom)
About Me
- Agnel CJ Kurian
- C/C++ Programmer doing CAD on Windows. Some web development experience. Bangalorean.
Blog Archive
Labels
- .net (11)
- advocacy (1)
- apache (2)
- code (1)
- direct3d (1)
- drawing (1)
- geometry (1)
- graphics (1)
- humour (1)
- javascript (1)
- links (1)
- microsoft (1)
- morons (1)
- postgresql (1)
- programming (4)
- python (1)
- rant (5)
- software (1)
- subversion (2)
- svn (1)
- tools (11)
- trac (1)
- truecrypt (1)
- typing (1)
- vc++ (14)
- video (1)
- vs2008 (1)
- windows-forms (1)
- windows7 (1)
No comments:
Post a Comment