Hello
date : 10.3.2021
I just tested latest update of micro(A) in which i add Windows message processing.
Testing is used by WM_MOUSEMOVE win message like this :
'windows messages testvarr,g,bvarmx,myptrwmMouseMover=250:g=200:B=150wcolorr,g,bfcolor40,80,100print100,140,"testing WM_MOUSEMOVE in micro(A)"print6,10,"mx"print6,40,"my"WinMsgwmMOUSEMOVEmousexmxmouseymyfcolor0,0,0:rect24,5,68,24fcolor100,160,220:print30,10,mxfcolor0,0,0:rect24,35,68,24fcolor100,160,220:print30,40,myEndwm
Little bit improved version using keyboard vkLEFT and vkRIGHT to move letter A left and right
'windows messages testvarr,g,bvarmx,my,wpptrwmMouseMove,wmKeyDownr=255:g=255:B=255wcolorr,g,b:fcolor40,80,100print100,10,"testing WM_MOUSEMOVE and WM_KEYDOWN in micro(A)"print6,10,"mx"print6,40,"my"WinMsgwmMOUSEMOVEmousexmxmouseymyfcolor0,0,0:rect24,5,68,24fcolor100,160,220:print30,10,mxfcolor0,0,0:rect24,35,68,24fcolor100,160,220:print30,40,myfcolor30,170,100:psetmx,myEndWmWinMsgwmKEYDOWNhWparamwp'vkLEFT ?ifwp=37fcolor100,100,230:rectmx,my,16,16endif'vkRIGHT ?ifwp=39fcolor100,160,130:circlemx,my,16endifEndWm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
date : 10.3.2021
I just tested latest update of micro(A) in which i add Windows message processing.
Testing is used by WM_MOUSEMOVE win message like this :
Little bit improved version using keyboard vkLEFT and vkRIGHT to move letter A left and right
In attacment is updated source code of micro(A)
require password!
Last edit: Zlatko Vidlanovic 2023-03-04
micro(A) updated and all examples TESTED
in attachment is latest source code :
micro(A) source updated mouse events
Last edit: Zlatko Vidlanovic 2023-07-09