RE: [GD-Windows] Troubles with Win32 slider
Brought to you by:
vexxed72
From: Andrew G. <ag...@cl...> - 2003-05-27 21:56:57
|
Trackbar is the correct name for the control I think you mean, that should help you find the correct section in MSDN. If not, all the messages are prefixed TBM_ and it's similar in concept to a scrollbar. -----Original Message----- From: Pierre Terdiman [mailto:p.t...@wa...] Sent: 27 May 2003 14:46 To: gam...@li... Subject: [GD-Windows] Troubles with Win32 slider I put a vanilla Win32 slider in a dialog (in VC6's resource editor), and I can't seem to get it work. This is probably very easy once you know how to do it, but neither the MSDN nor Google seems to answer this basic question clearly : how do I get back the slider's position ? (!) Note that : - For checkboxes or radio buttons it worked like a charm using, for example, IsDlgButtonChecked(). I'm looking for similar brain-dead functions to handle sliders. - I don't want to / can't use MFC here. - I tried to catch various messages in the parent window, GetScrollPos(), etc, nothing seems to work. I'll appreciate a small overview, or a working link to a decent tutorial. Thanks, - Pierre www.codercorner.com <http://www.codercorner.com> |