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