Alistair Leslie-Hughes leslie_alistair@hotmail.com writes:
@@ -214,6 +218,12 @@ static INT_PTR CALLBACK edit_dialog_proc(HWND hdlg, UINT msg, WPARAM wparam, LPA PostMessageA(hdlg, WM_USER, 0xdeadbeef, 2); break;
/* Set Text During startup */
case 11:
SendMessageA(hok, WM_SETTEXT, 0, (WPARAM)"Testing");
PostMessageA(hdlg, WM_USER, 0xdeadbeef, 2);
break;
Why are you setting the text on a button, and not touching the edit control?