bonjour,
je veux ouvrir une formview quand je clique sur un bouton,alors j'ai fait ce programme,mais il l'ouvre dans la form parent:
CAnalyseur* CFormView;
//pDialog initialized to NULL in the constructor of CMyWnd class
pDialog = new CAnalyseur();
//Check if new succeeded and we got a valid pointer to a dialog object
BOOL ret = pDialog->Create("uiui","ioioio",WS_CHILD|WS_VISIBLE,CRect(10,10,100,100),this,IDD_SPECTRUM2_FORM,NULL);
pDialog->ShowWindow(SW_RESTORE );
merci bcp.