A managed Callback interface that an object can implement to receive callback messages from an HSVCallback.
Public Member Functions |
|
void | ButtonDown () |
Raised when the user clicks on the color
swatch. |
|
void | ButtonUp (bool accept) |
Raised when the user releases the mouse on
the color swatch. |
|
void | ColorChanged (System::Windows::Media::Color aColor, bool buttonUp) |
This callback proc gets called after the
user changes the color. |
|
void | BeingDestroyed (System::Windows::Point pos) |
This callback proc gets called when the
color picker is closed: |
|
void | OnOK () |
This callback proc gets called when user
click Ok to confirm the color modification. |
|
void | OnCancel () |
This callback proc gets called when user
click Cancel to cancel the color modification. |
void ManagedServices::IManagedHsvCallback::ButtonDown | ( | ) |
Raised when the user clicks on the color swatch.
void ManagedServices::IManagedHsvCallback::ButtonUp | ( | bool | accept | ) |
Raised when the user releases the mouse on the color swatch.
accept | true if the mouse button was released normally; false if the user canceled. |
void ManagedServices::IManagedHsvCallback::ColorChanged | ( | System::Windows::Media::Color | aColor, |
bool | buttonUp | ||
) |
This callback proc gets called after the user changes the color.
Implement this method to handle interactive updates.
aColor | The new color. |
buttonUp | Indicates if the mouse button has been released (is up). true if the button is up; false if it is down. |
void ManagedServices::IManagedHsvCallback::BeingDestroyed | ( | System::Windows::Point | pos | ) |
This callback proc gets called when the color picker is closed:
pos | The last screen position of the color picker before it was closed. |
void ManagedServices::IManagedHsvCallback::OnOK | ( | ) |
This callback proc gets called when user click Ok to confirm the color modification.
void ManagedServices::IManagedHsvCallback::OnCancel | ( | ) |
This callback proc gets called when user click Cancel to cancel the color modification.