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

#include <Buttons.h>

Inherited by CitrixMobile.

List of all members.

Public Member Functions

STDMETHODIMP GetButtonTarget ([in]CMP_BUTTON_ID button,[out]CMP_BUTTON_TARGET *target,[out, retval]CMPRESULT *result)
 Get the current button target (host of client).
STDMETHODIMP SetButtonTarget ([in]CMP_BUTTON_ID button,[in]CMP_BUTTON_TARGET target,[out, retval]CMPRESULT *result)
 Set the target for pressing a button.

Member Function Documentation

STDMETHODIMP IButton::GetButtonTarget ( [in] CMP_BUTTON_ID  button,
[out] CMP_BUTTON_TARGET target,
[out, retval] CMPRESULT result 
)

Get the current button target (host of client).

Get the current destination for button events. The target will either be the server or the client. The host application will be notified of button events if it is the destination. Otherwise the client (mobile device) will handle it like normal.

Parameters:
button- selected button (home, search, back, etc.)
target- destination for events (server or client)
result- returned CMP-based result
Returns:
HRESULT

Reimplemented in CitrixMobile.

STDMETHODIMP IButton::SetButtonTarget ( [in] CMP_BUTTON_ID  button,
[in] CMP_BUTTON_TARGET  target,
[out, retval] CMPRESULT result 
)

Set the target for pressing a button.

Set the destination for button events. The target will either be the server or the client. The host application will be notified of button events if it is selected. Otherwise the client (mobile device) will handle it like normal.

Parameters:
button- selected button (home, search, back, etc.)
target- destination for events (server or client)
result- returned CMP-based result
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