Strict Local win_main:tgadget=CreateWindow("Test",50,50,300,200,Null,WINDOW_TITLEBAR) enablepolledinput() While True WaitEvent Print CurrentEvent.ToString() Select EventID() Case EVENT_KEYDOWN Print "key pressed" Case EVENT_WINDOWCLOSE End End Select Wend
This program emits or not a KeyDown Event? On my computer I CAN NOT catch a keyboard event...
:(
Please gimme an hint, I lost a week of life for this...
@Halo: thanks for the example but I didn't work...