I am back to my recurent problem with windows events
 
   
 With the following code the application is supposed to beep at each
window event.
Could some explain why it is not beeping when I am moving that stupid
alert ????
Code: Select all
InitSprite()
OpenWindow(1, 0, 200, 400, 400, #PB_Window_MinimizeGadget, "test" )
QUITTE = 0
While QUITTE = 0
  
  If GetAsyncKeyState_($1b)                               ; SP bar
    QUITTE = 1
  EndIf
  
  EVT_WIND.l = WindowEvent()
  Delay (1)
  If EVT_WIND > 0
    beep_(100,10)
    
    Select EVT_WIND
      
    Case #PB_Event_CloseWindow
      MessageRequester("Test", "Bla bla bla", 0)
      
  EndSelect
      
  EndIf
Wend
Is there any way to make the application window detects the alert has moved ?
Thks folks.



