IOchangeDialogFieldStatusEx |
Top Previous Next |
Activate / deactivate from dialogue fields. In dialogue boxing single fields can be activated or be deactivated (grey shown). Then deactivated fields are not usable any more. With this function the fields can be activated or be deactivated and, in addition, still the behaviour can be changed with this routine by some dialogue elements. Thus will put, e.g., with input fields by of the worth ES_PASSWORD the input by starlet shown. Parametre pipes (PIOPIPES) [IN] The trading pipes gives the issue canal. dialogID (int) [IN] With dialogID the suitable dialogue window is determined. itemID (int) [IN] itemID calls the field within the dialogue window whose status should be changed. status (int) [IN] With both constants described below the field can be activated or be deactivated. fields (const char *) [IN] fields contains as a sign chain the new construction of the suitable dialogue element Dialogue status STYLES SET 12 102 ES_PASSWORD With this call the input field is put with the dialogue with the number 12 (Datei|Neu) for the name (itemID = 102) on ES_PASSWORD. now fields contains the sign chain "(ES_PASSWORD)". Dialogue status STYLES RESET 12 102 ES_PASSWORD With this call the input line is switched to normal representation again. Result --- Declaration #include "ausgabe.h"
void DLLENTRY IOchangeDialogFieldStatusEx ( PIOPIPES pipes, int dialogId, int itemId, int status, const char * fields ); Constants DIALOG_STATUS_HIDE_FIELD 1 DIALOG_STATUS_SHOW_FIELD 2 Related functions
|