Herbert Rosenau wrote to Jonathan de Boyne Pollard on 12-05-1999
HR> A window that dosn't own the focus can't receive any
HR> message from system queue. Bercaus PM sends this only to a
HR> window that owns the focus - or has to own after the focus
HR> change sequence (its an atomic sequence) is done.
Not true. It will not receive mouse or keyboard messages but it sure
as heck gets WM_COMMAND and WM_SYSTEM meaasges even if hidden and/or
disabled! I use non-visible (hence no focus) windows to syncronize and
dispatch message results from a network worker thread all the time.
Will Honea
--- Maximus/2 2.02
* Origin: OS/2 Shareware BBS, telnet://bbs.os2bbs.com (1:109/347)
|