Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jan : (un)RegisterWindowMessage
| Subject: | (un)RegisterWindowMessage |
| Posted by: | "Paul" (paul.blommaer..@telenet.be) |
| Date: | Fri, 26 Jan 2007 17:04:47 |
I use the RegisterWindowMessage function to communicate between a service
and a thread.
When a destop changes, all threads have to switch to the new input desktop,
but one of them fails.
This thread uses the RegisterWindowMessage() function to communicate with
the service.
It's not clear to me (from msdn) if RegisterWindowMessage creates a hidden
window or not.
If it is, than a change to a new desktop is impossible and this hidden
window should be destroyed.
I can't find a function to do this.
Any idea ?
Paul