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
- Next message: Christian Kaiser: "Re: Drawing titlebar on XP with themes"
- Previous message: John Carson: "Re: Drawing titlebar on XP with themes"
- In reply to: Bob Rock: "Re: list-view: how to know if scroll-bars are being displayed"
- Next in thread: Christian Kaiser: "Re: list-view: how to know if scroll-bars are being displayed"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Christian Kaiser: "Re: Drawing titlebar on XP with themes"
- Previous message: John Carson: "Re: Drawing titlebar on XP with themes"
- In reply to: Bob Rock: "Re: list-view: how to know if scroll-bars are being displayed"
- Next in thread: Christian Kaiser: "Re: list-view: how to know if scroll-bars are being displayed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|