Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A problem with an edit control in client area

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
well..I create an edit control:

hEdit=CreateWindowEx(WS_EX_CONTROLPARENT, "EDIT", NULL, ES_AUTOHSCROLL | ES_LEFT | WS_BORDER | WS_CHILD , CW_USEDEFAULT, CW_USEDEFAULT,X,25, hWindow, MAKEINTRESOURCE(ID_EDIT1), hMainInstance, NULL);

the main window is created this way:

hWindow=CreateWindowEx(WS_EX_WINDOWEDGE | WS_EX_STATICEDGE, "WC", "MNSW32", WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN , CW_USEDEFAULT, CW_USEDEFAULT,X,Y, NULL, NULL, hMainInstance,NULL);

the problem with the edit control is that it's not disabled (ie not a read-only) but i can't type into it...why?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top