🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3152

Horizontal Scroll Bars In Sysmets3.C

#3152
From: coates
Date: Sat, 08 Jun 1991 21:12
16 lines
1471 bytes
I've entered in, compiled and linked sysmets3.c from Charles Petzold's Windows
book, but I can't get it to run sucessfully. The point of the program is
to display the horizontal scroll bar. My .exe displays it after ShowWindow()
ShowWindow() erases the client area before exiting but it is also erasing
the horizontal scroll bar. My scroll range should be nonzrero as this
is a program example written by Petzoldexpressly to display the horizontal
scroll bar. I've checked the factors that set the value of the horizontal
scroll bar range and they look good, i.e. look exactly like Petzolds code.
Does anyone have a clue?
Thanks!

***********************************************************************
*                   Elliott Coates, Washington DC                     *
*                                                                     *
*                       coates@uc780.umd.edu                          *
***********************************************************************
Technical Details
Message-ID: <8JUN91.21121092@uc780.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!socrates.umd.edu!uc780.umd.edu!coates

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!socrates.umd.edu!uc780.umd.edu!coates
From: coates@uc780.umd.edu
Newsgroups: comp.windows.ms.programmer
Subject: Horizontal Scroll Bars In Sysmets3.C
Message-ID: <8JUN91.21121092@uc780.umd.edu>
Date: 8 Jun 91 21:12:10 GMT
Sender: news@socrates.umd.edu (News)
Organization: The University of Maryland University College
Lines: 16