CStatic * myStatic = new CStatic;<br /><br />myStatic->Create( _T("my static"), WS_CHILD|WS_VISIBLE|SS_CENTER, CRect(0,0,150,15), NULL );<br /><br />delete myStatic;
<br /><br />CStatic * myStatic = new CStatic;<br /><br />myStatic->Create(_T("my static"), WS_CHILD|WS_VISIBLE|SS_CENTER, <br /> CRect(10,10,150,50), this,1);<br /><br /><br />
var