• Welcome to Valhalla Legends Archive.
 

Dialog Box Keywords.[SOLVED]

Started by Final, October 08, 2006, 04:52 PM

Previous topic - Next topic

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.