c'est ca que j'essayais de faire, mais comem je l'ai explquer dans mon message,
return CallWindowProc((WNDPROC)GetWindowLong(hWnd, GWL_USERDATA), hWnd, iMsg, wParam, lParam);
genere une erreur lorsque c'est le message WM_SETTEXT
LRESULT CALLBACK RenameProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam) {
return CallWindowProc((WNDPROC)GetWindowLong(hWnd, GWL_USERDATA), hWnd, iMsg, wParam, lParam); }
tout les autres messages passent mais pas lui... quelqu'un a un idee??
|