Re: list-view: how to know if scroll-bars are being displayed

From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 03/01/04


Date: Mon, 1 Mar 2004 01:56:27 -0500


"Bob Rock" <nospam.yet_another_apprentice@hotmail.com> wrote in message
news:c1tnhf$1n45uh$1@ID-98646.news.uni-berlin.de...
> > Examine the controls style and see if it has the
> > WS_HSCROLL bit set. If it has a horizontal scroll bar, the bit will be
> set,
> > otherwise it will be clear.
> >
>
> Very interesting Gary, I didn't know control/window styles "follow"
(meaning
> that they are updated to reflect) a current control/window status.

    They do in this case, but don't assume that they always do. For
instance, if I remember correctly, edit controls do not modify this bit
under similar circumstances.

-- 
-GJC [MS Windows SDK MVP]
-Software Consultant (Embedded systems and Real Time Controls)
- http://www.mvps.org/ArcaneIncantations/consulting.htm
-gchanson@mvps.org


Relevant Pages

  • Re: Best Budget Games
    ... analogue movement for those creepy sections, and partly because you then have no buttons left for doing stuff with, meaning the controls are compromised significantly. ...
    (uk.games.video.misc)
  • Can CSS do this?
    ... Can someone show me the equivalent in CSS, and explain how it is better ... (not meaning to sound trollish; ... like controls and such ...
    (alt.html)
  • Re: Can CSS do this?
    ... (not meaning to sound trollish; ... like controls and such ... This works in all browsers and can be nested inside of div's and other ...
    (alt.html)
  • Re: list-view: how to know if scroll-bars are being displayed
    ... >> Examine the controls style and see if it has the ... instance, if I remember correctly, edit controls do not modify this bit ... -Software Consultant (Embedded systems and Real Time Controls) ...
    (microsoft.public.vc.language)
  • Re: Change colors of ProgressBar control?
    ... global setting in WinXP. ... meaning that the .NET wrappers for common controls will use version 6, ... supports styling of the controls depending on theme and whatnot. ... and get the smooth progress bar. ...
    (microsoft.public.dotnet.languages.csharp)