Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2134 connectés 

 


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.

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
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.
pymousses Je cherche l'api win à utiliser pour gerer l'action case cochée ou non. QQ'1 aurait t'il un lien ou je pourrait avoir des infos sur les api win (avec exemples d'utilisations si possoble???).

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)