PC Review


Reply
Thread Tools Rate Thread

How can I retrieve handles of images/icons ?

 
 
Joseph Gia
Guest
Posts: n/a
 
      1st Sep 2004
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


 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      3rd Sep 2004
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
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Retrieve images from WebServer Saya Microsoft C# .NET 2 12th Jul 2005 07:48 PM
system locks up when trying to retrieve images from a dvd =?Utf-8?B?anRheWxvcg==?= Windows XP Help 1 19th Jan 2005 07:17 PM
How to retrieve images from using visual c++ 6.0 momopeachgal Microsoft VC .NET 1 17th Jan 2005 08:08 PM
How to retrieve images from sql server? Luis Esteban Valencia Microsoft ASP .NET 1 22nd Oct 2004 03:39 PM
Cannot retrieve images from SQL Server Microsoft ASP .NET 3 22nd Nov 2003 01:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:58 AM.