08-19-2005 12:20 PM
08-23-2005 12:24 AM
Hello hurst,
I wasn't able to reproduce the behavior on my systems. Is there any difference between screen resolution or any other setting on the two machines? Also which OS are you running on? You could also take a look at the code for the progress bar. It is open source and is located in <cvi install dir>\toolslib\toolbox\toolbox.c. In particular, the code used to display the tick marks is simply a SetCtrlAttribute on a numeric slide control. So this behavior shouldn't change on different machines.
Thanks.
08-23-2005 08:44 AM
Both of the systems have exactly the same hardware, screen resolution is 1600x1200 on both systems, I am running win2k on both systems.
My desktop system, which is different hardware also runs win2k, 1600x1200 screen resolution and the progress bar scaling is '0, 10, 20, 30, ....
It is very difficult to explain to a customer why two identically configured systems behave differently.
Hurst C.
08-24-2005 06:45 PM
08-25-2005 07:59 AM
08-26-2005 11:12 AM
Hello Hurst,
Outside the settings we've previously looked at (Resolution Adjustment and Scale Contents on Resize), there isn't any other settings in CVI that will make a horizontal slide resize on different machines. Well if you create an executable using a horizontal slide then programmatically return the width of the control, does the width returned differ on your machine and on the customer machine? Also, are you able to reproduce the problem on any other development machine other than your customer's machine?
Then, another step I would take is to modify the toolbox.c file and add a line in the CreateProgressDialog function to programmatically return the width of the control used to generate the progress dialog. Does this width change on your machine and on the customer's machine?
Thanks.