Mobile SDK for Windows Apps2.0
Transforming Windows apps into Mobile apps
|
#include <Buttons.h>
Inherited by CitrixMobile.
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. |
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.
button | - selected button (home, search, back, etc.) |
target | - destination for events (server or client) |
result | - returned CMP-based result |
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.
button | - selected button (home, search, back, etc.) |
target | - destination for events (server or client) |
result | - returned CMP-based result |
Reimplemented in CitrixMobile.