IUIX_Combo::Edit Property
From PDF XChange PDF SDK
Line 4: | Line 4: | ||
{{ToReview}} | {{ToReview}} | ||
− | '''Edit''' property gets [[PXV:IUIX_Edit|''edit'']] object | + | '''Edit''' property gets [[PXV:IUIX_Edit|''edit'']] object that delivers additional functionality of ''manipulating current text'' in the combo box. See [[PXV:IUIX_Edit|IUIX_Edit interface]] documentation for details. |
== Syntax == | == Syntax == | ||
Line 11: | Line 11: | ||
== Remarks == | == Remarks == | ||
− | Use _QueryImpl to query implementation of [[PXV:IUIX_Edit|IUIX_Edit]] from [[PXV:IUIX_Obj|IUIX_Obj]]. | + | Note, that ''get_Edit(..)'' returns object of ''IUIX_Obj'' interface (not ''IUIX_Edit'' inteface). Use _QueryImpl(..) to query implementation of [[PXV:IUIX_Edit|IUIX_Edit]] from [[PXV:IUIX_Obj|IUIX_Obj]]. |
<pre class="brush:cpp;gutter:false"> | <pre class="brush:cpp;gutter:false"> | ||
CComPtr<IUIX_Obj> pObj; | CComPtr<IUIX_Obj> pObj; |
Revision as of 05:56, 7 May 2015
Edit property gets edit object that delivers additional functionality of manipulating current text in the combo box. See IUIX_Edit interface documentation for details.
Syntax
HRESULT get_Edit([out, retval] IUIX_Obj** ppEdit);
Remarks
Note, that get_Edit(..) returns object of IUIX_Obj interface (not IUIX_Edit inteface). Use _QueryImpl(..) to query implementation of IUIX_Edit from IUIX_Obj.
CComPtr<IUIX_Obj> pObj; ... CComPtr<IUIX_Edit> pEdt; _QueryImpl(pObj, pEdt);
See Also
See also IUIX_Combo, IUIX_Edit.