[RESEND] user: Select entire text if DLGC_HASSETSEL set

Alexandre Julliard julliard at winehq.org
Wed Aug 16 10:00:33 CDT 2006


Stefan Siebert <stefan.siebert at web.de> 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
julliard at winehq.org



More information about the wine-devel mailing list