From: Lado Brisar <lbrisar@MailAndNews.com> - 2000-09-22 00:29:26
On 21 Sep 2000, at 7:01, Greg Chicares wrote:
> 1. I'm trying to display an icon on a dialog. ICON "appldocv.ico",
> IDI_MDIAPPLICATION, 2, 2> and windres accepts > that but does not
> display the icon, which is defined as IDI_MDIAPPLICATION ICON
This is an old bug; you must use name (not ID!) in the icon definition
line. Windres works fine with next syntax:
// icon definition - name *myicon1* without quotes!
myicon1 ICON "iconmain.ico"
// in a dialog...
ICON "myicon1", IDX_ICON1, 10, 50, 16, 16, SS_ICON
You can also use -1 instead of IDX_ICON1, it works too!
Get latest updates about Open Source Projects, Conferences and News.