Documentación de la API > Custom user interface > Object ProUIDialog > Function ProUIDialogActivateActionSet
Function ProUIDialogActivateActionSet
Description
Sets the function that is called when the dialog has become the current foreground window.
Note: The callback for a given Dialog is generated only on windows platform under the following conditions:
1. The dialog must not be the current foreground application.
2. The dialog (when it is not the foreground application) is activated using one of the following methods:
&nbsp - When the user clicks on the taskbar button for the given dialog.
&nbsp - When the user switches to the given dialog using Alt+Tab.
&nbsp - When the user clicks within the given dialog.
Synopsis
#include <ProUIDialog.h>
ProUIDialogActivateActionSet
(
char* dialog
/* (In)
The name of the dialog.
*/
ProUIAction callback
/* (In)
The action to perform
*/
/* (In)
Data to be passed to callback function Can be NULL.
*/
)
Returns
The function was successful
The function failed
An invalid argument was given
User Guide References
¿Fue esto útil?