Pelles C forum

Pelles C => General discussions => Topic started by: heliang6291 on May 25, 2013, 10:05:19 AM

Title: How to load icon in dialog box?(use Picture)
Post by: heliang6291 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.
Title: Re: How to load icon in dialog box?(use Picture)
Post by: TimoVJL on May 25, 2013, 10:19:50 AM
Look here (http://msdn.microsoft.com/en-us/library/ms997560.aspx) in msdn static control and SS_ICON

In PellesC Dialog Editor:
Picture -> Properties -> Image
  put icon resource id to there like #8001.
Title: Re: How to load icon in dialog box?(use Picture)
Post by: heliang6291 on June 05, 2013, 05:41:16 AM
Look here (http://msdn.microsoft.com/en-us/library/ms997560.aspx) in msdn static control and SS_ICON

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

Thanks.