about the CButtonST

in my dialog,i want dynamicly create a button
i wrote the following lines:
CButtonST *a= new CButtonST;
a->Create(_T("&Ok"), WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP,
CRect(200, 200, 300, 300), this, 8001);
a->DrawTransparent();

but the button is still not transparent,it seems that the button i created isn't a CButtonST button,it is only a CButton style
[403 byte] By [lugangxyz] at [2007-11-18 17:45:54]
# 1 Re: about the CButtonST
please help me
lugangxyz at 2007-11-11 1:25:42 >