What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Finding a window and stopping it from displaying

Finding a window and stopping it from displaying
Author: Message:
ryxdp
Senior Member
****


Posts: 804
Reputation: 16
29 / Male / Flag
Joined: Jun 2006
O.P. RE: RE: Finding a window and stopping it from displaying
quote:
Originally posted by Mnjul
You can't DestroyWindow() another program's window:

quote:
MSDN - DestroyWindow() Function
A thread cannot use DestroyWindow to destroy a window created by a different thread.


Please nicely send WM_CLOSE message to that window and let it decide whether to close or not :p

Yeah, I saw that when I was looking at the function, but I didn't really think about it :(

Anyway, it now closes properly. Thanks for your help :)
06-19-2009 07:33 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Finding a window and stopping it from displaying - by ryxdp on 06-13-2009 at 07:39 AM
RE: Finding a window and stopping it from displaying - by SmokingCookie on 06-13-2009 at 02:31 PM
RE: Finding a window and stopping it from displaying - by TheSteve on 06-15-2009 at 05:02 AM
RE: Finding a window and stopping it from displaying - by SmokingCookie on 06-15-2009 at 06:23 AM
RE: Finding a window and stopping it from displaying - by ryxdp on 06-15-2009 at 07:15 AM
RE: RE: Finding a window and stopping it from displaying - by TheSteve on 06-15-2009 at 01:37 PM
RE: RE: RE: Finding a window and stopping it from displaying - by ryxdp on 06-16-2009 at 07:41 AM
RE: Finding a window and stopping it from displaying - by TheSteve on 06-17-2009 at 03:00 PM
RE: Finding a window and stopping it from displaying - by ryxdp on 06-18-2009 at 10:17 AM
RE: Finding a window and stopping it from displaying - by Mnjul on 06-18-2009 at 06:33 PM
RE: RE: Finding a window and stopping it from displaying - by ryxdp on 06-19-2009 at 07:33 AM
RE: Finding a window and stopping it from displaying - by CookieRevised on 06-19-2009 at 09:41 AM
RE: RE: Finding a window and stopping it from displaying - by ryxdp on 06-19-2009 at 10:00 AM
RE: Finding a window and stopping it from displaying - by CookieRevised on 06-19-2009 at 10:08 AM
RE: Finding a window and stopping it from displaying - by Matti on 06-19-2009 at 01:22 PM
RE: Finding a window and stopping it from displaying - by CookieRevised on 06-19-2009 at 10:41 PM
RE: RE: Finding a window and stopping it from displaying - by ryxdp on 06-19-2009 at 11:06 PM
RE: Finding a window and stopping it from displaying - by foaly on 06-20-2009 at 10:43 PM
RE: Finding a window and stopping it from displaying - by CookieRevised on 06-22-2009 at 06:22 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On