Rhino C++ API
8.13
|
#include <RhRdkSdkNumberEdit.h>
Public Member Functions | |
virtual int | AutoRepeatDelay (void) const |
virtual double | ChangeThreshold (void) const |
virtual int | CharFromPos (const CPoint &pt) const |
virtual bool | CreateCtrl (DWORD dwStyle, const ON_4iRect &rect, CWnd *pParentWnd, UINT iID) |
virtual bool | EditByTyping (void) const |
virtual bool | EnableSpinnerWhenBlank (void) const |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData) |
virtual bool | Format (const double dValue, CString &sText) const |
virtual bool | IsBlank (void) const |
virtual bool | IsFixedSpinnerDelta (void) const |
virtual bool | IsFocused (void) const |
virtual bool | IsLocked (void) const |
virtual double | LinearRollingDelta (void) const |
virtual bool | LockFrom (const CRhRdkSdkNumberEdit &srce) |
virtual void | OnBeginRollSpinner (void) |
virtual void | OnEndRollSpinner (void) |
virtual void | OnUserChangedValue (void) |
virtual void | OnValueChanged (void) |
virtual bool | Parse (const TCHAR *tsz, double &dValueOut) const |
virtual void | RemoveBounds (void) |
virtual void | RemoveFixedSpinnerDelta (void) |
virtual bool | SendChangeWhenDragging (void) const |
virtual void | SetAllowSetDuringChange (bool bAllow=true) |
virtual void | SetAutoRepeatDelay (int iDelay) |
virtual void | SetBlank (bool bBlank=true) |
virtual void | SetBounds (double dLowerBound, double dUpperBound) |
virtual void | SetCanHideCursor (bool bCanHide=true) |
virtual void | SetChangeThreshold (double dThresh) |
virtual void | SetControlKeyScaling (double d) |
virtual void | SetEditByTyping (bool bCanType) |
virtual void | SetEnableSpinnerWhenBlank (bool bEnable=true) |
virtual void | SetFixedSpinnerDelta (double dDelta) |
virtual void | SetForcedStyles (DWORD dwStyles) |
virtual void | SetKeyScaling (double dArrow=1.0, double dPage=10.0) |
virtual void | SetLimitText (int iMax) |
virtual void | SetLinearRollingDelta (double dDelta) |
virtual bool | SetLock (bool bLocked) |
virtual void | SetLowerBound (double dLowerBound) |
virtual void | SetSel (int iStartChar, int iEndChar, bool bNoScroll=false) |
virtual void | SetSendChangeWhenDragging (bool bSend=true) |
virtual void | SetShiftKeyScaling (double d) |
virtual void | SetSimpleArithmeticOn (bool bOn=true) |
virtual void | SetSpinnerVisibility (bool bVisible) |
virtual void | SetSpinnerWidth (int iWidth) |
virtual void | SetSuffixString (const TCHAR *szSuffix) |
virtual void | SetUpperBound (double dUpperBound) |
virtual void | SetUseHandCursor (bool bUseHand=true) |
virtual bool | SimpleArithmeticOn (void) const |
virtual HCURSOR | SpinDragCursor (void) const |
virtual int | SpinnerWidth (void) const |
virtual bool | UseHandCursor (void) const |
virtual bool | WantThemedSpinner (void) const |
Static Public Member Functions | |
static UINT | ChangedMessageNumber (void) |
Protected Member Functions | |
virtual const CImpl & | Impl (void) const =0 |
virtual CImpl & | Impl (void)=0 |
afx_msg void | OnKillfocusEdit () |
virtual void | PreSubclassWindow () |
|
virtual |
Get the delay, in milliseconds, before auto-repeat begins when the mouse is held down on the spinner.
|
static |
Get the registered message number that will be sent when the user changes the value in the edit box.
|
virtual |
Get the threshold used for detecting a change.
|
virtual |
|
virtual |
Create the control dynamically.
|
virtual |
|
virtual |
|
virtual |
Emergency virtual function for future expansion.
Reimplemented in CRhRdkSdkIntegerNumberEdit, and CRhRdkSdkRealNumberEdit.
|
virtual |
Override this to change the formatting procedure and return true. If this returns false then default formatting used.
|
protectedpure virtual |
Implemented in CRhRdkSdkIntegerNumberEdit, and CRhRdkSdkRealNumberEdit.
|
protectedpure virtual |
Implemented in CRhRdkSdkIntegerNumberEdit, and CRhRdkSdkRealNumberEdit.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
For use with a button that locks edit controls together.
|
virtual |
|
virtual |
Lock this control's value from another one.
|
virtual |
Called when the user starts dragging a spinner or holds down the left mouse button so that the spinner starts to auto-repeat.
|
virtual |
Called when the left mouse button is released if OnBeginDragSpinner() has been called.
|
protected |
|
virtual |
Called after the user has changed the value in the edit box and focus has been lost. The default implementation sends the registered message ChangedMessageNumber().
|
virtual |
Called after the value in the edit box has updated for any reason. This is always called and cannot be disabled. It is designed for updating simple UI items immediately. If you override this method, do not use it for anything time-consuming.
|
virtual |
Override this to parse the input string into a double and return true. If this returns false then default parsing is used.
|
protectedvirtual |
|
virtual |
Remove bounds; sets control as boundless.
|
virtual |
Removes fixed spinner delta. Same as SetFixedSpinnerDelta(0.0).
|
virtual |
|
virtual |
This disables the 'Buggy UI' check – for UIs that NEED to set the value from the change notification.
|
virtual |
Set the delay, in milliseconds, before auto-repeat begins when the mouse is held down on the spinner.
|
virtual |
Set or clear display as blank. Useful for 'varies'.
|
virtual |
Set both bounds.
|
virtual |
Enable or disable hiding of mouse cursor when dragging a spinner.
|
virtual |
Set the threshold used for detecting a change. Default is 1e-6.
|
virtual |
Set the scaling to be applied to all deltas used for arrow keys, page keys or spinners when the control key is down.
|
virtual |
Enable or disable editing the number by typing. If disabled, the user can't type into the control. The default is true.
|
virtual |
Set or clear spinners enabled when blank. The default is false.
|
virtual |
Set fixed spinner delta. Pass zero to use automatic delta.
|
virtual |
Call from subclass constructor to force window styles that are not specified in the dialog.
|
virtual |
Set the scaling for the amount to change by when the user presses arrow or page keys.
|
virtual |
|
virtual |
Set amount of linear rolling. If zero, acceleration is used instead (default).
|
virtual |
For use with a button that locks edit controls together. Call this when the lock button state changes.
|
virtual |
Set lower bound only.
|
virtual |
Set the selection in the edit box.
|
virtual |
Enable or disable sending of change notifications during spinner dragging.
|
virtual |
Set the scaling to be applied to all deltas used for arrow keys, page keys or spinners when the shift key is down.
|
virtual |
Enable or disable simple arithmetic.
|
virtual |
Show or hide the spinner.
|
virtual |
Set spinner width in pixels.
|
virtual |
Set suffix to use when not percentile. Suffix is displayed after the number.
|
virtual |
Set upper bound only.
|
virtual |
Enable or disable use of hand cursor when mouse is over a spinner. The default is false.
|
virtual |
|
virtual |
Override this to return a special cursor to use when dragging the spinners.
|
virtual |
|
virtual |
|
virtual |
Override this to specify if the spinner should be themed. The default implementation returns true.