IUIX_Dialog::GetItem2 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 11: | Line 11: | ||
<pre class="brush:cpp;gutter:false">HRESULT GetItem2([in] LONG nItemID, | <pre class="brush:cpp;gutter:false">HRESULT GetItem2([in] LONG nItemID, | ||
[in, defaultvalue(-1)] VARIANT_BOOL bTranspSC, | [in, defaultvalue(-1)] VARIANT_BOOL bTranspSC, | ||
− | [out, retval] IUIX_Obj** | + | [out, retval] IUIX_Obj** pItem);</pre> |
== Parameters == | == Parameters == | ||
Line 18: | Line 18: | ||
;bTranspSC | ;bTranspSC | ||
:[in, defaultvalue(-1)] Value of VARIANT_BOOL. | :[in, defaultvalue(-1)] Value of VARIANT_BOOL. | ||
− | ; | + | ;pItem |
:[out, retval] return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. Use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method to query implementation of a required item type from <code>IUIX_Obj</code>. | :[out, retval] return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. Use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method to query implementation of a required item type from <code>IUIX_Obj</code>. | ||
Latest revision as of 03:18, 15 June 2015
Gets a required dialog item by its numerical ID.
Syntax
HRESULT GetItem2([in] LONG nItemID, [in, defaultvalue(-1)] VARIANT_BOOL bTranspSC, [out, retval] IUIX_Obj** pItem);
Parameters
- nItemID
- [in] numerical ID of required item.
- bTranspSC
- [in, defaultvalue(-1)] Value of VARIANT_BOOL.
- pItem
- [out, retval] return object of IUIX_Obj interface. Use
QueryImpl
method to query implementation of a required item type fromIUIX_Obj
.
Return Value
Returns S_OK if operation was successful or error code in other cases.