Pour ce qui est du meeu, il faut aussi l'indiquer
dans le CreateWindow





-------------------------------
Réponse au message :
-------------------------------
> pour commencer fais donc des dialogbox, sera plus simple, te suffit de les dessiner dans editeur de ressources. Une fois le fichier RC et resource.h faits, tu regardes mes sources publiees et tu auras tout ce qu'il faut pour debuter.
> BruNews, ciao...
>
>
> -------------------------------
> Réponse au message :
> -------------------------------
>
> > alors comment doit-je faire pour pouvoir integré des controle genre bouton de commande edit box...; ds ma fenetre
> > merci BruNews
> >
> >
> >
> > -------------------------------
> > Réponse au message :
> > -------------------------------
> >
> > > CFORMVIEW y soit integrée: NENNI on ne melange pas le monde mfc et le reste. Soit tu fais du mfc soit du win32 direct api.
> > > wcApp.lpszMenuName est le membre ou il faut indiquer ta resource menu.
> > > BruNews, ciao...
> > >
> > >
> > > -------------------------------
> > > Réponse au message :
> > > -------------------------------
> > >
> > > > u!
> > > >
> > > >
> > > > bjr, je débute et je me pose 2 ou 3 petite kestions fondamentale:
> > > >
> > > > a partir de ce prog( ki affiche une fenetre vide!!!):
> > > >
> > > > **************************************************
> > > > #include <windows.h>
> > > > // prototypes
> > > > LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
> > > >
> > > > char szProgName[]="ProgName";
> > > >
> > > > int WINAPI WinMain(HINSTANCE hInst,HINSTANCE hPreInst,LPSTR lpszCmdLine,int nCmdShow)
> > > > {
> > > > HWND hWnd;
> > > > MSG lpMsg;
> > > > WNDCLASS wcApp;
> > > >
> > > > wcApp.lpszClassName=szProgName;
> > > > wcApp.hInstance =hInst;
> > > > wcApp.lpfnWndProc =WndProc;
> > > > wcApp.hCursor =LoadCursor(NULL,IDC_ARROW);
> > > > wcApp.hIcon =0;
> > > > wcApp.lpszMenuName =0;
> > > > wcApp.hbrBackground =(HBRUSH) GetStockObject(LTGRAY_BRUSH);
> > > > wcApp.style =CS_HREDRAW|CS_VREDRAW;
> > > > wcApp.cbClsExtra =0;
> > > > wcApp.cbWndExtra =0;
> > > > if (!RegisterClass (&wcApp))
> > > > return 0;
> > > >
> > > > hWnd=CreateWindow(szProgName,"Fenêtre Simple !!!",
> > > > WS_OVERLAPPEDWINDOW,CW_USEDEFAULT,
> > > > CW_USEDEFAULT,CW_USEDEFAULT,
> > > > CW_USEDEFAULT,(HWND)NULL,(HMENU)NULL,
> > > > hInst,(LPSTR)NULL);
> > > >
> > > > ShowWindow(hWnd,nCmdShow);
> > > > UpdateWindow(hWnd);
> > > >
> > > > while (GetMessage(&lpMsg,0,0,0)) {
> > > > TranslateMessage(&lpMsg);
> > > > DispatchMessage(&lpMsg);
> > > > }
> > > > return(lpMsg.wParam);
> > > > }
> > > >
> > > > LRESULT CALLBACK WndProc(HWND hWnd,UINT messg,WPARAM wParam,LPARAM lParam)
> > > > {
> > > > switch (messg)
> > > > {
> > > > case WM_DESTROY:
> > > > PostQuitMessage(0);
> > > > break;
> > > >
> > > > default:
> > > > return(DefWindowProc(hWnd,messg,wParam,lParam));
> > > > break;
> > > > }
> > > > return(0);
> > > > }
> > > > **************************************************
> > > >
> > > > G 1 menu ki porte l'ID : IDR_MENU, il est contenu ds un fichier resource.rc et un fichier resouce.h lui a été attribué
> > > >
> > > > la kestion est : komment faire apparaitre ce menu ds la fenetre?
> > > >
> > > >
> > > > de plus: le fond de la fenetre est blanc je voudré k1 CFORMVIEW y soit integrée: komment faire?
> > > > merci pour tt
> > > >
> > > >
> > > >
> > > >
> > >
> >
>