July 17, 2024, 07:25:27 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Adding a Manifest as a Resource

Started by Brian, November 13, 2010, 03:39:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

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

ckoehn

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

Brian

Thanks, Clint - having another go shortly

Brian

Brian

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

LarryMc

In the resource file give the icon that you want the application to use when the app is open an id of 101.

LarryMc
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

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