23253
Messages postés11Date d'inscriptionmercredi 2 mai 2012StatutMembreDernière intervention14 mai 2013
-
14 mai 2013 à 09:55
23253
Messages postés11Date d'inscriptionmercredi 2 mai 2012StatutMembreDernière intervention14 mai 2013
-
14 mai 2013 à 09:58
bonjour voila encore un soucis, je doit développer un petit programme sous Windows avec code::blocks comme IDE et...
quand je clique sur mon menu -> option -> paramètre je doit afficher une dialogbox et voila ce que ça donne :
#include "ressource.h"
ID_MENU MENU
BEGIN
POPUP "Fichier"
BEGIN
MENUITEM "Nouveau", ID_M_NOUVEAU
MENUITEM "Ouvrir", ID_M_OUVRIR
MENUITEM "Sauver", ID_M_SAUVER
MENUITEM SEPARATOR
MENUITEM "Quitter", ID_M_QUITER
END
POPUP "Options"
BEGIN
MENUITEM "Parametres", ID_M_PARAMETRES
END
POPUP "Aide"
BEGIN
MENUITEM "Regles", ID_M_REGLES
MENUITEM "A propos", ID_M_APROPOS
END
END
ID_PARAM DIALOG 0, 0, 80, 30
CAPTION "Win32 Programming"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Anuler/Sortir", ID_CANCEL, 10, 10, 60, 10
END
Si vous comprenez pourquoi ça s'affiche comme ça merci