CStatic

CStatic* pstaDis=new
CStatic;
  pstaDis->Create("",WS_CHILD WS_VISIBLE SS_BITMAP SSCENTERIMAGE,CRect(0,0,40,40),pWnd,1);
  CBitmap
bmpLoad;
  bmpLoad.LoadBitmap(IDB_TEST);
  pstaDis->SetBitmap(bmpLoad.Detach());

posted on 2013-03-16 21:09  song2013  阅读(156)  评论(0编辑  收藏  举报

导航