I am having funny characters appearing in my progress bar using the MSG function. It was working before and now I am getting these characters ('i' and vert bars) with the progress blocks.
I must have change some settings somewhere. Could anyone enlighten me me on what I need to do to fix this in OI 4.02?
Thanks
Are you non-US based? This was a regression for non-US users based upon default fonts in Windows. So it isn't down to you.
How do I check or change this setting if this is the case with Win2000/WinXP? I have tried changing the region settings and it did not help. The same code running in Win98SE worked.
Thanks
It's actually a code mod to MSG so Rev will have to do it. Unless you want to mod the provided source code yourself - but shipped code is not always guaranteed to be the latest.
Kc,
Unless you need your gas bar to be in a message box you can make one yourself from a static or edit line, and a Cancel button. Change the size of the static/edit line programmatically to reflect the progress.
- Oystein -
There was also a White Paper on how to make one programatically .. if my brain's still working properly.
Don
Thanks. I think I will do my own progress bar that I can control.
Kc,
I see have a function lying around that I made once but never used. The function shows progress as a blue bar on a white background, with a percentage number in the opposite colour(s) in the middle. (I remember it wasn't trivial to get the number stuff right.) It assumes the presence of 6 blue and white statics with particular names GAUGE_LEFT_NOT, GAUGE_LEFT_DONE, etc. You call the function with
UnUsed=ShowGaugeLevel( Percentage )
You initialize it with
UnUsed=ShowGaugeLevel( 0 )
I don't know if you're interested.
- Oystein -
Oystein,
I would not mind having a look to see if it can be used for my apps.
Contact me at [email protected]
Thanks
KC