RE: [GD-Windows] Troubles with Win32 slider
Brought to you by:
vexxed72
From: Mitch W. <mi...@mi...> - 2003-05-27 23:10:48
|
And had I read more closely, I would have realized you didn't mean = scrollbars. :P=20 -----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 |