NO

Author Topic: How to load icon in dialog box?(use Picture)  (Read 3610 times)

heliang6291

  • Guest
How to load icon in dialog box?(use Picture)
« on: May 25, 2013, 10:05:19 AM »
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.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: How to load icon in dialog box?(use Picture)
« Reply #1 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.
« Last Edit: May 25, 2013, 11:13:40 AM by timovjl »
May the source be with you

heliang6291

  • Guest
Re: How to load icon in dialog box?(use Picture)
« Reply #2 on: June 05, 2013, 05:41:16 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.