Path: 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 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."