| |||||
| Dernière réponse | |
|---|---|
| Sujet : API case à cocher sous win | |
| Carbon_14 | Dans la doc de mon compilateur, il y a The IsDlgButtonChecked function determines whether a button control has a check mark next to it or whether a three-state button control is grayed, checked, or neither. UINT IsDlgButtonChecked( HWND hDlg, // handle of dialog box int nIDButton // button identifier ); et The CheckDlgButton function changes the check state of a button control. BOOL CheckDlgButton( HWND hDlg, // handle to dialog box int nIDButton, // button-control identifier UINT uCheck // check state ); et aussi The CheckRadioButton function adds a check mark to (checks) a specified radio button in a group and removes a check mark from (clears) all other radio buttons in the group. BOOL CheckRadioButton( HWND hDlg, // handle to dialog box int nIDFirstButton, // identifier of first radio button in group int nIDLastButton, // identifier of last radio button in group int nIDCheckButton // identifier of radio button to select ); selon le type de bouton. |
| Vue Rapide de la discussion |
|---|