Gas Bar (OpenInsight 32-bit Specific)
At 01 MAY 2002 10:21:20PM kc wrote:
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
At 02 MAY 2002 05:33AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
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.
At 03 MAY 2002 09:26AM kc wrote:
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
At 03 MAY 2002 11:06AM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
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.
At 03 MAY 2002 01:33PM Oystein Reigem wrote:
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 -
At 03 MAY 2002 03:50PM Don Miller - C3 Inc. wrote:
There was also a White Paper on how to make one programatically .. if my brain's still working properly.
Don
At 03 MAY 2002 11:52PM kc wrote:
Thanks. I think I will do my own progress bar that I can control.
At 04 MAY 2002 11:04AM Oystein Reigem wrote:
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 -
At 05 MAY 2002 11:33PM kc wrote:
Oystein,
I would not mind having a look to see if it can be used for my apps.
Contact me at kc@topgain.com.au
Thanks
KC