Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I

spin-control behavior

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
2 Replies
Highlighted
Valued Contributor II

You will need to initialise

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

0 Kudos
Highlighted
New Contributor I

Hi Andrew,

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