03-28-2010, 08:24 PM
Thanks.
Function MultiVertTrack
Is there anyway to grab the number of trackbars in a dialog and automatically run a code for each? I would make sure that the tackbars all went sequentially when building the dialog.
Thanks,
Jimmy Vig
Function MultiVertTrack
,ARRAY(str) Track
,Track.create(6)
,Track[3]=SendMessage(id(3 hDlg) TBM_GETPOS 0 0)
,Track[4]=SendMessage(id(4 hDlg) TBM_GETPOS 0 0)
,Track[5]=SendMessage(id(5 hDlg) TBM_GETPOS 0 0)
,int WinID=GetWinId(lParam)
,out WinID
,out Track[WinID]
Is there anyway to grab the number of trackbars in a dialog and automatically run a code for each? I would make sure that the tackbars all went sequentially when building the dialog.
Thanks,
Jimmy Vig