Article View: comp.windows.ms.programmer
Article #1940Re: Followup to window resizing question.
From: John Munsch
Date: Tue, 02 Apr 1991 16:36
Date: Tue, 02 Apr 1991 16:36
22 lines
1116 bytes
1116 bytes
In article <1991Apr1.143705.10097@cec1.wustl.edu> wilcox@wucs1.wustl.edu (Don Wilcox) writes:
>Now for another question, anyone know how to find out if the SB_HORZ and
>SB_VERT scroll bars are currently visible?
I don't know that this is the official way to do it but I did it and it
_seemed_ to work...
dwStyle = GetWindowLong(hWnd, GWL_STYLE);
if (dwStyle & WS_HSCROLL) {
// Do whatever...
}
if (dwStyle & WS_VSCROLL) {
// Do whatever...
}
I hope it works for you.
John Munsch
"It's amazing that Microsoft was able to come up with OLE after only one
reading through the HP NewWave manuals."
Technical Details
Message-ID:
<28708@spudge.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!bcm!convex!texsun!letni!rwsys!spudge!johnmReferences:
<1991Apr1.143705.10097@cec1.wustl.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!bcm!convex!texsun!letni!rwsys!spudge!johnm From: johnm@spudge.UUCP (John Munsch) Newsgroups: comp.windows.ms.programmer Subject: Re: Followup to window resizing question. Message-ID: <28708@spudge.UUCP> Date: 2 Apr 91 16:36:09 GMT References: <1991Apr1.143705.10097@cec1.wustl.edu> Reply-To: johnm@spudge.UUCP (John Munsch) Distribution: usa Organization: Friends of Guru Bob Lines: 22