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?
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?