win32lib HTrackBar
Why doesn't w32HScroll event handler work for trackbars?
How can we know when did used change trackbar position?
Here is test code:
without warning
include win32lib.ew
integer Main_window, Horizontal_trackbar
procedure on_horizontal_trackbar_scroll (integer id,
integer event, sequence params)
?1
end procedure
procedure main_test ()
Main_window = create (Window, "trackbar scroll event bug",
0, 0, 0, 300, 300, 0)
Horizontal_trackbar = create (HTrackBar, "",
Main_window, 0, 0, 200, 50, 0)
setHandler (Horizontal_trackbar, w32HScroll,
routine_id ("on_horizontal_trackbar_scroll"))
end procedure
main_test ()
WinMain (Main_window, Normal)
|
Not Categorized, Please Help
|
|