void DrawFrameControl(RECT* lpRect,unsigned nType, long nState,char* szText,unsigned hBitmap){ // for 7/*DFC_EDIT*/ is hBitmap replaced by hFont !!!!!!
int left,top,right,bottom;
RectToVariable(lpRect,left,top,right,bottom);
long bClientEdge = (nState & 0x00200000L/*WS_CLIENTEDGE*/);
long bFocus = (nState & 0x00400000L/*WS_FOCUS*/);
long bMouseOver = (nState & 0x00100000L/*WS_MOUSEOVER*/);
long bPushed = (nState & 0x0000200L/*DFCS_PUSHED*/);
long bFlat = (nState & 0x0001000L/*DFCS_FLAT*/);
long bInactive = (nState & 0x00080000L/*DFCS_INACTIVE*/);