|
Dernière réponse | |
---|---|
Sujet : Updater un champs edit box dans c++ | |
Roswell_ | t'as associé une fonction de gestion de fenetre à ton éditbox?
hwndText=GetDlgItem(mainHwnd,IDC_MONEDITBOX);//je récupere un handler sur l'editbox SetWindowLong(hwndText,GWL_WNDPROC,(LPARAM)WndEditBoxProc);//j'associe une fonction de gestion de fentre à cet editbox apres c'est une fonction de gestion de fenêtre normale. LRESULT CALLBACK WndBoutonProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) { switch(iMsg) { case WM_KEYDOWN: ... } ... } Je peux pas t'en dire beaucoup plus j'apprends aussi win32 |
Vue Rapide de la discussion |
---|