TrackBar issue

Started by Rick McNeely, September 01, 2011, 12:40:23 AM

Previous topic - Next topic

Rick McNeely

I'm having an issue using a trackbar equate.  I'm trying to use %TBM_SETPOSNOTIFY.  I can see that it is defined in commctrl.inc (Jose's includes) with the line:


%TBM_SETPOSNOTIFY       = %WM_USER + 34


but I still get the error:


Error 460: UNDEFINED EQUATE


I am using Jose's includes.  Any hints greatly appreciated.

Rick


José Roca

This means that you aren't including commctrl.inc in your application.

Rick McNeely

Thanks Jose.  It would let me use %TBM_SETPOS, just not %TBM_SETPOSNOTIFY.  I just created a reference directly in my code and it worked fine.

commctrl.inc was referenced in appstart.  dunno why it would accept one but not the other.