Advertisement

05.10.2008 at 07:02AM PDT, ID: 23391624
[x]
Attachment Details

Loading Icon

Asked by Dripcode in C++ Programming Language, Microsoft Windows Operating Systems

I'm trying to load an icon into the Picture Control.
Is the this the wrong control to use? I can't get the icon image to show up.
Am I using the wrong message parameters?

Below is my code:

// hExclmIcon is being set with a value
HICON hExclmIcon = LoadIcon( NULL, IDI_EXCLAMATION ) ;
SendMessage( GetDlgItem( hWnd, IDC_PIC_CNTRL_EXCL ), WM_SETICON, ICON_BIG, (LPARAM)hExclmIcon );

thanks
Start Free Trial
[+][-]05.10.2008 at 07:58AM PDT, ID: 21539255

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C++ Programming Language, Microsoft Windows Operating Systems
Sign Up Now!
Solution Provided By: Dripcode
Participating Experts: 0
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628