Stefan Siebert <[EMAIL PROTECTED]> writes: > +static void DIALOG_SelectTextIfHasSetSel( HWND hwndEdit ) > +{ > + MSG msg; > + LRESULT dlgCode; > + > + dlgCode = SendMessageW (hwndEdit, WM_GETDLGCODE, msg.wParam, > (LPARAM)&msg);
msg is not initialized, you are sending garbage to the app. -- Alexandre Julliard [EMAIL PROTECTED]