Dark side of Events !!!!
Posted: Sat Jul 12, 2003 11:17 am
hello,
I am afraid I misunderstood something concerning windows and events.
I have a main window and sometimes I have to open a new small window
(let say a child window) above the main one.
In the main window I check for a 'repaint event' like this :
Repaint event is detected (beep) if I move a system window
above my window but not if I move my child window".
In the Child window I have :
Do you see where I am wrong ???
Thks
I am afraid I misunderstood something concerning windows and events.
I have a main window and sometimes I have to open a new small window
(let say a child window) above the main one.
In the main window I check for a 'repaint event' like this :
Code: Select all
EVT_WIND.l = WindowEvent()
Delay (1)
If EVT_WIND > 0
Case #PB_EventRepaint
beep_(100,50)
above my window but not if I move my child window".
In the Child window I have :
Code: Select all
EVT_WIND.l = WaitWindowEvent()
Delay (1)
Thks