RE: [GD-Windows] Troubles with Win32 slider
Brought to you by:
vexxed72
From: Mitch W. <mi...@mi...> - 2003-05-27 22:05:47
|
Search MSDN for "Scroll Bar Controls in Win32". The message I think you = are interested in is SBM_GETPOS. -----Original Message----- From: "Pierre Terdiman" <p.t...@wa...> Sent: 5/27/03 5:53:00 PM To: "gam...@li..." = <gam...@li...> Cc:=20 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 |