Surprisingly, this works (the edit field is type-able and the new/load/save buttons work) in Dev-C++, but not in lccWin32. Thanks Yarin.Code:default: return CallWindowProc(OldWndProc, hwnd, msg, wParam, lParam);
The problem I have now is that typing in the edit field does not trigger WM_CHAR messages, which is the reason that I had to subclass the edit field in the first place.
Now I just have the strange problem that, when resizing the window, the edit field covers the status bar, along with it not being docked to the top and right hand side of the window. */
This does the trick:Code:SetWindowPos(GetDlgItem(hwnd, IDC_MAIN_STATUS), NULL, 0, rcClient.bottom - iStatusHeight, rcClient.right, iStatusHeight, SWP_NOZORDER);