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.
Code:
hMainEit = CreateWindow("EDIT", NULL,
WS_CHILD | WS_VISIBLE | ES_LEFT,
5,
25,
100,
20,
hwnd, (HMENU) ID_MAIN_EDIT, (HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL);
CHAR lpszTrouble[] = "Zeusbwr";
SendMessage(hMainEit, WM_SETTEXT, 0, (LPARAM) lpszTrouble);
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?
(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.
http://msdn.microsoft.com/library/de...itcontrols.asp