IonicWind Software

IWBasic => General Questions => Topic started by: Brian on November 13, 2010, 03:39:07 AM

Title: Adding a Manifest as a Resource
Post by: Brian on November 13, 2010, 03:39:07 AM
Hi,

Can anyone tell me exactly (in plain English!) how to add a Manifest
file as a Resource? I think I've asked this before, and Sapero answered,
but I never got anywhere with it

Thanks,

Brian
Title: Re: Adding a Manifest as a Resource
Post by: ckoehn on November 13, 2010, 07:00:15 AM
This is the quote:
QuoteOptionally you could embed the manifest file as a resource in your program. Set resource type to 24, resource id to 1.

Later,
Clint
Title: Re: Adding a Manifest as a Resource
Post by: Brian on November 13, 2010, 10:26:32 AM
Thanks, Clint - having another go shortly

Brian
Title: Re: Adding a Manifest as a Resource
Post by: Brian on November 16, 2010, 03:26:20 AM
OK, adding a Manifest as a resource went well

I then added an icon file as a resource. The file contained about 4 sizes
(16x16, 32x32, etc), all of the same icon

When compiled, the icons show OK in Explorer as Tiles, Icons, etc, but EBasic
doesn't seem to know which one to display in the program's titlebar, and displays
very bittily (is that a word!)

Is there anything I need to add or set to make it display the correct icon
in the titlebar, when the icon file contains differing sizes?

Thanks,

Brian
Title: Re: Adding a Manifest as a Resource
Post by: LarryMc on November 16, 2010, 07:29:09 AM
In the resource file give the icon that you want the application to use when the app is open an id of 101.

LarryMc
Title: Re: Adding a Manifest as a Resource
Post by: Brian on November 16, 2010, 08:08:59 AM
Well, what about that! Edit the resource file after it has been created?

Thanks, Larry, I'll try that as soon as I get home

Brian