Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

EVC++: Loading an icon from a file for use with DrawIcon

 
   Soft32 Home -> PDA -> Pocket PC Developer RSS
Next:  which dll for MFC?  
Author Message
Richard Lawrence

External


Since: Jul 09, 2003
Posts: 38



(Msg. 1) Posted: Thu Aug 28, 2003 6:00 am
Post subject: EVC++: Loading an icon from a file for use with DrawIcon
Archived from groups: microsoft>public>pocketpc>developer (more info?)

Hi all,

I'm desperately hunting for sample code that shows me how to load an
icon from an icon file into my eVC++ application which can then be
displayed on a today screen through the DrawIcon command.

I've tried LoadIcon and LoadImage. The former ends in a dead end
because I need to use MAKEINTRESOURCE and an integer. Except that I
don't know the integer as I want a file.

The latter I can find samples, but they don't include any comments,
any help or indeed anything that would indicate how I would get a
variable of the type HICON which can then be passed to DrawImage.

Google groups gives me nothing, Google gives me nothing.

Can anyone offer any suggestions for sample code?

Many thanks,

Richard
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to upload a file to emulator? - How to upload a file to emulator? Thank you very much!

Playsound to play WAV file - I have 2 different buttons to play a simple WAV file. How can i make this happen: if pressing Button A it plays a WAV f...

How to generate Setup file for Pocket PC Application - I have seen the MSDN information about "Developing and Deploying Pocket PC Setup Applications", but I still ...

basic evc dialog box / .rc file question - Hi all I'm trying to go from evb to evc and am studying Douglas Boling Windows CE book The pennies are finally starti...
       Soft32 Home -> PDA -> Pocket PC Developer All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
  PDA


[ Contact us | Terms of Service/Privacy Policy ]