Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
IPicker Struct Reference

#include <Picker.h>

Inherited by CitrixMobile.

List of all members.

Public Member Functions

STDMETHODIMP HidePicker ([in]CMP_UNIQUE_ID controlId,[out, retval]CMPRESULT *result)
 Hide a picker control that is currently being displayed.
STDMETHODIMP ShowPicker ([in]CMP_UNIQUE_ID controlId,[in]CMP_DISPLAY_RECT *rect,[in]INT32 selectedIndex,[in]BSTR bstrList,[in]BSTR bstrTitle,[out, retval]CMPRESULT *result)
 Show the picker control on the mobile device.
STDMETHODIMP GetPickerState ([in]CMP_UNIQUE_ID controlId,[out]PINT16 pickerState,[out, retval]CMPRESULT *result)
 Get the picker control state on the mobile device.

Member Function Documentation

STDMETHODIMP IPicker::GetPickerState ( [in] CMP_UNIQUE_ID  controlId,
[out] PINT16  pickerState,
[out, retval] CMPRESULT result 
)

Get the picker control state on the mobile device.

Parameters:
controlId- picker control identifier
pickerState- returned picker state
result- result of the operation
Returns:
HRESULT

Reimplemented in CitrixMobile.

STDMETHODIMP IPicker::HidePicker ( [in] CMP_UNIQUE_ID  controlId,
[out, retval] CMPRESULT result 
)

Hide a picker control that is currently being displayed.

Parameters:
controlId- picker control identifier
result- result of the operation
Returns:
HRESULT

Reimplemented in CitrixMobile.

STDMETHODIMP IPicker::ShowPicker ( [in] CMP_UNIQUE_ID  controlId,
[in] CMP_DISPLAY_RECT rect,
[in] INT32  selectedIndex,
[in] BSTR  bstrList,
[in] BSTR  bstrTitle,
[out, retval] CMPRESULT result 
)

Show the picker control on the mobile device.

Parameters:
controlId- control identifier
rect- viewport rectangle to use for text input area
selectedIndex- which item to have selected by default
bstrList- picker control text
bstrTitle- picker control title
result- result of the operation
Returns:
HRESULT

Reimplemented in CitrixMobile.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Events Defines