Article View: comp.os.ms-windows.programmer.tools.mfc
Article #147Re: How to Kill a Tray icon from an another application ?
From: Bob Moore
Date: Sat, 18 Nov 2000 00:00
Date: Sat, 18 Nov 2000 00:00
19 lines
1826 bytes
1826 bytes
On Fri, 17 Nov 2000 18:03:06 +0100, Aurelian Coasan [MS] wrote: > hwndTaskBar = FindWindowEx (NULL, NULL, "Shell_TrayWnd", NULL); > hwndTrayWnd = FindWindowEx (hwndTaskBar , NULL, "TrayNotifyWnd", NULL); > hwndTrayToolBar = FindWindowEx(hwndTrayWnd, NULL, "ToolbarWindow32", Ah, two levels down. Well that explains why enumerating the children of the tray wouldn't have got me anywhere, anyway. Thanks for the effort Aurelian. -- Bob Moore [WinSDK MVP] http://www.mooremvp.freeserve.co.uk/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Posted via news://msnews.microsoft.com Do not reply via email unless specifically requested to do so. Unsolicited email is NOT welcome and will go unanswered. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID:
<4alc1t0jetlvoja0sqiqcl9s7edssoodbf@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<FU8R5.763$%o6.2878648@nnrp3.proxad.net> <enTSzhLUAHA.250@cppssbbsa02.microsoft.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1138df,d00bad325b1977a5 X-Google-Attributes: gid1138df,public X-Google-Thread: 113dfb,d00bad325b1977a5 X-Google-Attributes: gid113dfb,public X-Google-Thread: 104d65,d00bad325b1977a5 X-Google-Attributes: gid104d65,public X-Google-Thread: f5082,d00bad325b1977a5 X-Google-Attributes: gidf5082,public X-Google-Thread: 1053e6,d00bad325b1977a5 X-Google-Attributes: gid1053e6,public From: Bob Moore <bob@mooremvp.freeserve.co.uk> Subject: Re: How to Kill a Tray icon from an another application ? Date: 2000/11/18 Message-ID: <4alc1t0jetlvoja0sqiqcl9s7edssoodbf@4ax.com> X-Deja-AN: 695047157 Content-Transfer-Encoding: 7bit References: <FU8R5.763$%o6.2878648@nnrp3.proxad.net> <enTSzhLUAHA.250@cppssbbsa02.microsoft.com> Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.os.ms-windows.programmer.win32,fr.comp.os.ms-windows.programmation,microsoft.public.fr.vc,microsoft.public.vc.mfc