Hi,
I'm (there we go again!) experiencing slight troubles while trying to retrieve the position of the slider of a scroller gadget.
The next piece of code applies:
{WORD Position;
GetAttr(SCROLLER_Top, gad, (ULONG *)&Position);
}
All I get is a value in Position of zero, whatever the real position of the slider.
But trying to retrieve in a similar way the values of SCROLLER_Total yields zero too, while it has been set ,(using SetGadgetAttrs()) and visibly been positioned correctly to that value, to something like 72.
Where am I blundering this time?
Regards,
Tjitte