The code below compiles and excutes correctly under PB 8.04. Under PB 9.0 it causes my program to crash
while the GUI is painting. If this code is commented out my program compiles and runs correctly but without the trackbars.

Code:
CONTROL ADD "msctls_trackbar32", hDlg, %SliderB1, "", 316 + %OffsetX, 780 + OffsetY, 152, 50, %WS_CHILD OR %WS_VISIBLE OR %WS_TABSTOP OR %TBS_HORZ OR %TBS_NOTICKS OR %TBS_TOOLTIPS, 0 ,CALL SliderB1 CONTROL SEND hDlg, %SliderB1, %TBM_SETRANGE, -1, MAKDWD(00,100) CONTROL SEND hDlg, %SliderB1, %TBM_SETPOS, -1, 50 CONTROL SET COLOR hDlg, %SliderB1, 0, RGB(0,111,255)
Comment