Petr Schreiber
03-09-2008, 19:35
Hi Eros,
if I define trackbar as following:
control add trackbar hDlg, %tbrSpeed, "", 5, 5, 80,15
... it will not be visible. It seems I have to include at least style to make it visible:
control add trackbar hDlg, %tbrSpeed, "", 320, 80, 80,15, _
%WS_CHILD | %TBS_horz | %WS_VISIBLE | %TBS_TOP | _
%tbs_noticks | %WS_TABSTOP
As other UI controls do not need any style by default, I think it would be nice if the same was valid for trackbar too.
Thanks,
Petr
P.S. + F1 key in IDE does not take me to the help topic, although it exists
if I define trackbar as following:
control add trackbar hDlg, %tbrSpeed, "", 5, 5, 80,15
... it will not be visible. It seems I have to include at least style to make it visible:
control add trackbar hDlg, %tbrSpeed, "", 320, 80, 80,15, _
%WS_CHILD | %TBS_horz | %WS_VISIBLE | %TBS_TOP | _
%tbs_noticks | %WS_TABSTOP
As other UI controls do not need any style by default, I think it would be nice if the same was valid for trackbar too.
Thanks,
Petr
P.S. + F1 key in IDE does not take me to the help topic, although it exists