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

spin-control behavior

Brooks_Van_Horn
New Contributor I
1,016 Views

I have an up/down spin control in a dialog and I have a working call-back routine and the control works fine with its integer edit buddy. However, the edit box does not display an initial value. If I press the up or down part of the spinner then it correctly displays the right value. I just don't seem to be able to get it to display its startup value. If I query the spin-control for its position it returns the correct value. I've even tried to do a dlgsetint to the edit control but no correct initial display.

Any ideas?

Thanks,

Brooks Van Horn

0 Kudos
3 Replies
andrew_4619
Honored Contributor II
1,016 Views

You will need to initialise the buddy window data when you initialise the dialog

0 Kudos
Brooks_Van_Horn
New Contributor I
1,016 Views

Hi Andrew,

 

Was already doing that and I just walked a debug session and all the return codes came out .TRUE. So some grimlin is at work here.

Brooks

0 Kudos
cean
New Contributor II
810 Views

After changing dialog, you need to update the resource.fd file.

0 Kudos
Reply