Valhalla Legends Forums Archive | C/C++ Programming | Dialog Box Keywords.[SOLVED]

AuthorMessageTime
Final
Can someone help me Ive been searching google and i cant find anything on adding a EDITBOX into a dialog box is it possible.

Im doing this in dev-c++
This is how you do a static string.
CTEXT          "Yah",IDC_Static,16,18,144,33

But i dont know how to do a editbox.

ive tried
TEXTEDIT--no awhail unless im using it wrong.

I added this inside its winproc

case WM_INITDIALOG:
            CreateWindowEx(WS_EX_CLIENTEDGE,
                      TEXT("Static"),       
                      TEXT("TEST"),
                      WS_CHILD|WS_VISIBLE, 
                      0,
                      0,
                      150,
                      25,                           
                      hwnd,                         
                        (HMENU)IDC_Static,
                        g_hInst,
                        NULL);
        return TRUE;

IT WORKED HEH. sorry about the trouble of this post.
October 8, 2006, 9:52 PM

Search