|
|||
|
After you receive onMessage, how do you return something to it?
Code:
var BROADCAST_QUERY_DENY = 0x424D5144;
getMainWnd().onMessage = function(msg, wparam) {
if(msg == 536 && wparam == 0){
trace("STANDBY REQUEST MADE!");
return BROADCAST_QUERY_DENY;
}
}
|
|
|||
|
No, the return in your event handler will be simply ignored. After your event handler, the current version of SWFKit will call the system default message handler. So in the current version, you cannot prevent a message from sending to the system default message handler.
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|