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:
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Finding a window and stopping it from displaying
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

This post was edited on 06-18-2009 at 06:34 PM by Mnjul.
06-18-2009 06:33 PM
Profile PM Web 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