[Dev-C++] Control scroll bars in Win32.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Richard P. E. <ev...@ma...> - 2001-02-19 02:04:35
|
I am studying from a book titled "Windows 98 Programming from the Ground Up" by Herbert Schildt and seem to be running into an unsual problem. I have entered the source code for the scroll bar examples and they work when compiled but not totally. When I grab the button in the horizontal scroll bar it will move to where I want it and my position readout registered the movement but when I release the mouse button it snaps back to the zero position. Also, when I do a control scroll bar, in this case a vertical one, I can not drag the button with the mouse. If I click on the down arrowed button the position readout registers movement but the button just sits there and "blinks". I can't find any mistakes in my code as I typed it but maybe some one else has experienced similar problems and can tell me what they found to solve these problems. Thanks. Richard P. Evans |