Stefan Siebert stefan.siebert@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.