Window style for manually created CEdit
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I have create some dynamic CEdit controls.. e.g... CEdit newEdit; // as a member var of class in the header newEdit.Create(WS_VISIBLE|ES_NUMBER|WS_DLGFRAME ,startRect,this,NULL); ... What window style flags do I need to set so the CEdit looks like a standard CEdit that you get when adding to a dialog resource? Thanks in advance
-
I have create some dynamic CEdit controls.. e.g... CEdit newEdit; // as a member var of class in the header newEdit.Create(WS_VISIBLE|ES_NUMBER|WS_DLGFRAME ,startRect,this,NULL); ... What window style flags do I need to set so the CEdit looks like a standard CEdit that you get when adding to a dialog resource? Thanks in advance
WS_VISIBLE|WS_BORDER Jaime