- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will need to initialise the buddy window data when you initialise the dialog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After changing dialog, you need to update the resource.fd file.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page