IonicWind Software

IWBasic => The Roundtable => Topic started by: LarryMc on March 09, 2013, 08:59:52 AM

Title: Progressbar
Post by: LarryMc on March 09, 2013, 08:59:52 AM
Discovered that adding a manifest file to a programm makes a big difference.
Attached are two exe files created from the same source file (progressbar.iwb from the examples).
One has manifest and one doesn't.
1st screenshot is of one that doesn't and 2nd is one that does.

It is not without its side effects though.
If you have a window with a @GROUP, @CHECKBOX, AND @RADIOBUTTON control
and you use
SETCONTROLCOLOR win, x, rgb(255,0,0), rgb(0,128,128)
on each one of them you get red text in all three PROVIDED there is no manifest file.
If you add a manifest file then all three's text turns black.
In both cases the backgroung stays to color it was set to.

The manifest file doesn't appear to bother other types of controls.
Title: Re: Progressbar
Post by: Brian on March 09, 2013, 11:04:18 AM
Larry,

I knew about the effect a manifest file had to a progress bar, but couldn't understand
in one of my programs about unwanted colour problems. Thanks for the tip

Brian
Title: Re: Progressbar
Post by: GWS on March 09, 2013, 03:49:29 PM
I've never used a manifest file myself, but this reference seems to explain things ..

http://msdn.microsoft.com/en-us/library/aa289524(VS.71).aspx (http://msdn.microsoft.com/en-us/library/aa289524(VS.71).aspx)

The first thing I do with a new installation of XP, is to turn off XP styles and go with Windows Classic ..  ::)

all the best, :)

Graham
Title: Re: Progressbar
Post by: Bill-Bo on March 09, 2013, 04:40:05 PM
I have another dumb question. How do you create manifest files? Or
tell me where to look. I scanned the page from the Microsoft link.
I'll go back later.

LarryMc,

You indicate the manifests make a big difference. Could you explaing breifly
the difference?

Bill
Title: Re: Progressbar
Post by: LarryMc on March 09, 2013, 05:55:08 PM
Quote from: Bill-Bo on March 09, 2013, 04:40:05 PM
I have another dumb question. How do you create manifest files? ...
Do what I do. Copy the manifest file in the IWBDev\bin folder and rename it to the name of your exe file with .manifest on the end.

Quote from: Bill-Bo on March 09, 2013, 04:40:05 PM
LarryMc,

You indicate the manifests make a big difference. Could you explaing breifly
the difference?
Bill
Look at the two pictures attached to my original post.
Those are screenshots of the running programs.
Programs created from the SAME source file but with different names.
If you run the exes in the zip  one will produce the first scrrenshot which is a steady solid color.
The one with the manifest will be an animated gradient color.
To me that's a big difference.
And the fact that having the manifest file keeps you from setting the text color on three types of coontrols is also a big difference( to me).