There is no clean way thanks to the design of the CF v1. One thing that
occured to me at some point is to assign ImageList to a toolbar and use
Toolbar messages to retrieve the associated hIcon. It is quite possible that
you could juggle the stuff in a way that will suite your needs. For example
if you assign ImageList to a toolbar, then immediately retrieve your hIcon
and instantly remove ImageList from toolbar, it will not have a chance to
repaint.
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"Joseph Gia" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> My .NET Compact Framework application uses an ImageList to hold all
> icons/images. How can I retrieve the handles to these icons/images to pass
> them to functions such as SHNotificationAdd ?
>
> Many thanks
>
> Joseph Gia
>
>