Standard Editbox, Editable?
Well i dont know if the standard Edit box is what i need.. But like in HTML, you know how you can have a simple username input? I want that in my box, but with the following code you cannot edit your name, nor can you see a boarder around the text edit spot.
Ya.. i should think it would just be a simple style i have to add.. but again, on the Edit Control Styles page on MSDN i see nothing to make it editable.. I can make it Read Only with ES_READONLY, but i want edit.. any ideas on what i am doing wrong?
hMainEit = CreateWindow("EDIT", NULL,
WS_CHILD | WS_VISIBLE | ES_LEFT,
hwnd, (HMENU) ID_MAIN_EDIT, (HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL);
CHAR lpszTrouble = "Zeusbwr";
SendMessage(hMainEit, WM_SETTEXT, 0, (LPARAM) lpszTrouble);
(Note: i tried a few dif Styles just randomly guessing at what might work, nothing i tried did. I thought maybe the ES_READONLY would toggle edit mode, but it doesent. Instead it adds a colored background (not boarder) around my text, but i still cant edit..)
Here is a link to the editbox type i am using.