PROBLEM WITH SPINCONTROL |
Post Reply |
Author | |
Pariksh*t
Groupie Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
Posted: 12 July 2008 at 3:00am |
hello, This is pariksh*t
I am implementing spin control in ribbonbar by using the following code--
CXTPControlEdit* pControlEdit = (CXTPControlEdit*)pGroup1->Add(xtpControlEdit, ID_EDITX_SIZEINMB); pControlEdit->SetStyle(xtpButtonIcon); pControlEdit->SetWidth(190); pControlEdit->SetHeight(60); pControlEdit->ShowSpinButtons(TRUE);
Now i want to set initial value in this control and want to fix the range .... What shoud i do? Have i used the correct control?
I have gone through your SkinControls application...
but didnt get how did you set the range
Reply fast plz.
Regards,
pariksh*t.
|
|
Pariksh*t
Groupie Joined: 26 June 2008 Location: India Status: Offline Points: 77 |
Post Options
Thanks(0)
|
hello
i find out the solution
we need to handle these events
ON_NOTIFY(XTP_FN_SPINUP, ID_EDITX_SIZEINMB, OnSizePlusOrMinus) ON_NOTIFY(XTP_FN_SPINDOWN, ID_EDITX_SIZEINMB, OnSizePlusOrMinus) where ID_EDITX_SIZEINMB is ID of edit box. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |