How to load icon in dialog box?(use Picture)

Started by heliang6291, May 25, 2013, 10:05:19 AM

Previous topic - Next topic

heliang6291

The icon will be showed in client area of dialog box,not caption bar.
I insert a Picture control, but i can't use it for load my icon.
Help me, please.Thanks.

TimoVJL

#1
Look here in msdn static control and SS_ICON

In PellesC Dialog Editor:
Picture -> Properties -> Image
  put icon resource id to there like #8001.
May the source be with you

heliang6291

Quote from: timovjl on May 25, 2013, 10:19:50 AM
Look here in msdn static control and SS_ICON

In PellesC Dialog Editor:
Picture -> Properties -> Image
  put icon resource id to there like #8001.

Thanks.