Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

SCROLLBAR in QuickWin

martin_bauer
Beginner
384 Views
Hallo,

The example from newest IVF compiler in

C:\Program Files (x86)\Intel\Compiler\11.1\046\Samples\en_US\Fortran\QuickWin.zip

1. It seems to me that the inputs for Celsius & Fahrenheit are only integers. Does anyone knows how can I change them into real or double type?

2. I have change the temperature range from -273C to 200C by adding

retlog = DlgSet( dlg, IDC_SCROLLBAR_TEMPERATURE, -273, DLG_RANGEMIN)
retlog = DlgSet( dlg, IDC_SCROLLBAR_TEMPERATURE, 209, DLG_RANGEMAX)


The SCROLLBAR do not works well when mouse draws it into the region, where Celsius temperature is small than zero. It will spring to the biggest value automatic.

Could anyone give me any advice?

Thanks,

Lei
0 Kudos
1 Solution
Kevin_D_Intel
Employee
384 Views

I attached one possible approach for item 1.

View solution in original post

0 Kudos
1 Reply
Kevin_D_Intel
Employee
385 Views

I attached one possible approach for item 1.
0 Kudos
Reply