|
|
| terryeverlast wrote: |
|---|
I can not use "GetPos" on my updown controlQuantity = m_SetQuantity.GetPos();error C2039: 'GetPos' : is not a member of 'CUpDown1' active x controls give me probs any help? |
[
odl,
uuid(603C7E7E-87C2-11D1-8BE3-0000F8754DA1),
helpstring("UpDown Control"),
helpcontext(0x00035b67),
hidden,
dual,
nonextensible,
oleautomation
]
interface IUpDown : IDispatch {
[id(00000000), propput, helpstring("Get/Set the current position in the scroll range"), helpcontext(0x00035b68)]
HRESULT Value([in] long plValue);
[id(00000000), propget, helpstring("Get/Set the current position in the scroll range"), helpcontext(0x00035b68)]
HRESULT Value([out, retval] long* plValue);
[id(0x00000001), propput, hidden, helpstring("Get/Set the rate at which the value (position) changes"), helpcontext(0x00035b69)]
HRESULT Acceleration([in] short psAcceleration);
[id(0x00000001), propget, hidden, helpstring("Get/Set the rate at which the value (position) changes"), helpcontext(0x00035b69)]
HRESULT Acceleration([out, retval] short* psAcceleration);
[id(0x00000002), propput, helpstring("Get/Set the alignment of the UpDown control with its buddy control"), helpcontext(0x00035b6a)]
HRESULT Alignment([in] AlignmentConstants penumAlignment);
[id(0x00000002), propget, helpstring("Get/Set the alignment of the UpDown control with its buddy control"), helpcontext(0x00035b6a)]
HRESULT Alignment([out, retval] AlignmentConstants* penumAlignment);
[id(0x00000003), propput, helpstring("Get/Set the auto-buddy flag, to automatically select the buddy control"), helpcontext(0x00035b6b)]
HRESULT AutoBuddy([in] VARIANT_BOOL pfAutoBuddy);
[id(0x00000003), propget, helpstring("Get/Set the auto-buddy flag, to automatically select the buddy control"), helpcontext(0x00035b6b)]
HRESULT AutoBuddy([out, retval] VARIANT_BOOL* pfAutoBuddy);
[id(0x00000004), propput, helpstring("Get/Set the control for use as a buddy control"), helpcontext(0x00035b6c)]
HRESULT BuddyControl([in] VARIANT pvarBuddyCtl);
[id(0x00000004), propputref, helpstring("Get/Set the control for use as a buddy control"), helpcontext(0x00035b6c)]
HRESULT BuddyControl([in] VARIANT pvarBuddyCtl);
[id(0x00000004), propget, helpstring("Get/Set the control for use as a buddy control"), helpcontext(0x00035b6c)]
HRESULT BuddyControl([out, retval] VARIANT* pvarBuddyCtl);
[id(0x00000005), propput, helpstring("Get/Set the amount by which the position changes on each click"), helpcontext(0x00035b6d)]
HRESULT Increment([in] long plIncrement);
[id(0x00000005), propget, helpstring("Get/Set the amount by which the position changes on each click"), helpcontext(0x00035b6d)]
HRESULT Increment([out, retval] long* plIncrement);
[id(0x00000006), propput, helpstring("Get/Set the upper bound of the scroll range"), helpcontext(0x00035b6e)]
HRESULT Max([in] long plMax);
[id(0x00000006), propget, helpstring("Get/Set the upper bound of the scroll range"), helpcontext(0x00035b6e)]
HRESULT Max([out, retval] long* plMax);
[id(0x00000007), propput, helpstring("Get/Set the lower bound of the scroll range"), helpcontext(0x00035b6f)]
HRESULT Min([in] long plMin);
[id(0x00000007), propget, helpstring("Get/Set the lower bound of the scroll range"), helpcontext(0x00035b6f)]
HRESULT Min([out, retval] long* plMin);
[id(0x00000008), propput, helpstring("Get/Set the vertical/horizontal orientation of the control"), helpcontext(0x00035b70)]
HRESULT Orientation([in] OrientationConstants penumOrientation);
[id(0x00000008), propget, helpstring("Get/Set the vertical/horizontal orientation of the control"), helpcontext(0x00035b70)]
HRESULT Orientation([out, retval] OrientationConstants* penumOrientation);
[id(0x00000009), propput, helpstring("Get/Set the flag to have the buddy control kept in sync"), helpcontext(0x00035b71)]
HRESULT SyncBuddy([in] VARIANT_BOOL pfSyncBuddy);
[id(0x00000009), propget, helpstring("Get/Set the flag to have the buddy control kept in sync"), helpcontext(0x00035b71)]
HRESULT SyncBuddy([out, retval] VARIANT_BOOL* pfSyncBuddy);
[id(0x0000000a), propput, helpstring("Get/Set whether the value (position) will wrap from max to min (or min to max)"), helpcontext(0x00035b72)]
HRESULT Wrap([in] VARIANT_BOOL pfWrap);
[id(0x0000000a), propget, helpstring("Get/Set whether the value (position) will wrap from max to min (or min to max)"), helpcontext(0x00035b72)]
HRESULT Wrap([out, retval] VARIANT_BOOL* pfWrap);
[id(0x0000000b), propput, helpstring("Get/Set which property to use to sync with Buddy Control"), helpcontext(0x00035b92)]
HRESULT BuddyProperty([in] VARIANT pvarDispidBuddyProperty);
[id(0x0000000b), propget, helpstring("Get/Set which property to use to sync with Buddy Control"), helpcontext(0x00035b92)]
HRESULT BuddyProperty([out, retval] VARIANT* pvarDispidBuddyProperty);
[id(0xfffffdfe), propput, helpstring("Returns/sets a value that determines whether a form or control can respond to user-generated events."), helpcontext(0x00035bbd)]
HRESULT Enabled([in] VARIANT_BOOL pfEnable);
[id(0xfffffdfe), propget, helpstring("Returns/sets a value that determines whether a form or control can respond to user-generated events."), helpcontext(0x00035bbd)]
HRESULT Enabled([out, retval] VARIANT_BOOL* pfEnable);
[id(0xfffffdfd), propget, helpstring("Returns a handle to a form or control."), helpcontext(0x00035bbe)]
HRESULT hWnd([out, retval] OLE_HANDLE* phWnd);
[id(0x0000060f), propget, helpstring("Returns/Sets whether this control can act as an OLE drop target."), helpcontext(0x00035bbb)]
HRESULT OLEDropMode([out, retval] OLEDropConstants* psOLEDropMode);
[id(0x0000060f), propput, helpstring("Returns/Sets whether this control can act as an OLE drop target."), helpcontext(0x00035bbb)]
HRESULT OLEDropMode([in] OLEDropConstants psOLEDropMode);
[id(0xfffffdd8), hidden]
void AboutBox();
[id(0x00000610), helpstring("Starts an OLE drag/drop event with the given control as the source."), helpcontext(0x00035bb9)]
HRESULT OLEDrag();
};
|