Well, it should process the CANVAS in this case! Also, I just edited because #PB_EventType_MouseMove works better, and still doesn't work on win11!jacdelad wrote: Mon Jul 21, 2025 6:45 am Can't test right now, but I believe the button is receiving the entering message (and PB is not processing it for buttons). Don't know whether it's a but or desired behaviour by Windows.
Edit: you were "somewhat right" about the button interfering; weird fix for win11:
Code: Select all
CanvasGadget(#CAN1, 10, 10, 40, 40,#PB_Canvas_Container)
ButtonGadget(#btn1, 5, 5, 30, 30,"1")
CloseGadgetList()
CanvasGadget(#CAN2, 60, 10, 40, 40,#PB_Canvas_Container)
ButtonGadget(#btn2, 5, 5, 30, 30,"2")