Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Controls
  New Posts New Posts RSS Feed - how to set int value in spin control?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to set int value in spin control?

 Post Reply Post Reply
Author
Message
Pariksh*t View Drop Down
Groupie
Groupie
Avatar

Joined: 26 June 2008
Location: India
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pariksh*t Quote  Post ReplyReply Direct Link To This Post Topic: how to set int value in spin control?
    Posted: 08 July 2008 at 12:10am
hi
this is pariksh*t
 
i am implementing a spin control in a ribbonbar
i am facing these problems--
 
1) how to set default int value in the spin control?
2) how to restrict min and max value in the same?
 

as in mfc we have function

void SetRange(short nLower, short Upper );
 
what i am supposed to do?
Reply asap.
 
 
Regards,
Pariksh*t
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 July 2008 at 6:39am
Hi,
Check our RibbonSample - it has spin buttons and show how handle events.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.