Article View: comp.os.ms-windows.programmer.tools.mfc
Article #106Re: How do I get the screen coordinates of my tray icon?
From: Pete Shinners
Date: Thu, 24 Sep 1998 00:00
Date: Thu, 24 Sep 1998 00:00
16 lines
1282 bytes
1282 bytes
>I've asked this before, but only indirectly... > >Is it possible to get the screen coordinates >of an icon that I've placed in the tray area? hehe, i've thought about this myself. i'm not sure if this is all possible, but the only way i figured you could do it would be to place an easily identifiable icon in the tray.. solid green would do pretty well. then you could get the HWND for the taskbar window and start to look around for your green icon. (start at the bottom-right) not the most elegent solution, but i figured it would work
Technical Details
Message-ID:
<6ue1kj$6mm$1@la-mail4.digilink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6ue0lk$oju$1@callisto.clark.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110a07,8d22a1ab21a261a3 X-Google-Attributes: gid110a07,public X-Google-Thread: 1138df,8d22a1ab21a261a3 X-Google-Attributes: gid1138df,public X-Google-Thread: 104d65,8d22a1ab21a261a3 X-Google-Attributes: gid104d65,public From: "Pete Shinners" <pete@visionart.com> Subject: Re: How do I get the screen coordinates of my tray icon? Date: 1998/09/24 Message-ID: <6ue1kj$6mm$1@la-mail4.digilink.net> X-Deja-AN: 394452671 References: <6ue0lk$oju$1@callisto.clark.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Organization: FutureLight Newsgroups: comp.os.ms-windows.programmer.tools.mfc,fj.os.ms-windows.programming,microsoft.public.vc.mfc