April 26, 2024, 01:26:02 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Progressbar

Started by LarryMc, March 09, 2013, 08:59:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LarryMc

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.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Brian

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

GWS

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

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
Tomorrow may be too late ..

Bill-Bo

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

LarryMc

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).

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