how can i test if the wheel move was negative or positive? i belive these detect the mouse position: xPos = GET_X_LPARAM(lParam); yPos = GET_Y_LPARAM(lParam); but how can i test if any key(like alt\control\shift) was pressed? (i'm talking in same message)

Member Avatar
Member Avatar
+0 forum 7

I have a parent form (Form1) that holds four childForms (childForm1, childForm2, childForm3, childForm4). The childForms can get pretty big, and I'd like the user to be able to use the scrollwheel on their mouse to zoom the screen in and out so that they can get a 'big picture' view of what's going on. The important parts are that the user can accomplish this using their mousewheel, all of the forms on the screen shrink/grow at the same time, and the action/animation looks smooth enough to not induce motion sickness. Normally I post whatever code is giving me a …

Member Avatar
Member Avatar
+2 forum 3

Does anyone have a code example for using the mouse wheel with the Tkinter GUI toolkit handy?

Member Avatar
Member Avatar
+0 forum 1

The End.