Im are going to create a application, wich use a windows and a canvas.
When Im using PollEvent as a keyevent, the ALT key(keycode 164) goes just out of focus and get the very dreadfull pulldown menu from the tooleft menu instead.
How can I get red of this problem, so the canvas get the focus alltimes and not trigger the pulldown menu instead?
I even tried something that this without luck (Data got the pulled data event):
Does this mean ALT cant being used in a BlitzMax game, when using a window?
When Im using PollEvent as a keyevent, the ALT key(keycode 164) goes just out of focus and get the very dreadfull pulldown menu from the tooleft menu instead.
How can I get red of this problem, so the canvas get the focus alltimes and not trigger the pulldown menu instead?
I even tried something that this without luck (Data got the pulled data event):
If Do$="KeyDown" Then TControllers.KeyD[Data]=1 ; If Data=164 Then ActivateGadget(PaintID) If Do$="KeyUp" Then TControllers.KeyD[Data]=0 ; If Data=164 Then ActivateGadget(PaintID)
Does this mean ALT cant being used in a BlitzMax game, when using a window?