Hi
I created a dialog based project and I want to put in a button created by code.
I define the button with:
CButton my_Button;
int the Create Message of the CDialog I put the code:
myButt.Create("My Button",WS_VISIBLE|WS_CHILD,CRect(10,10,200,200),this,IDC_MYBUTT);
When I run the application the Button doesn't appear!
thanks
Rocci
I created a dialog based project and I want to put in a button created by code.
I define the button with:
CButton my_Button;
int the Create Message of the CDialog I put the code:
myButt.Create("My Button",WS_VISIBLE|WS_CHILD,CRect(10,10,200,200),this,IDC_MYBUTT);
When I run the application the Button doesn't appear!
thanks
Rocci