How do I create a textbox in Win32 API? I don't know MFC, so please don't give me MFC code.
Printable View
How do I create a textbox in Win32 API? I don't know MFC, so please don't give me MFC code.
Hi
Below Headers:
#define ID_MYEDIT 3460
under where you create your main window:
HWND hWndMyEdit = CreateWindow("EDIT", "", WS_CHILD | WS_VISIBLE, 10, 10, 200, 20, hWnd, (HMENU) ID_MYEDIT, hInstance, NULL);
Hope that helps.
Cheers
TNT