根据图片修改对话框形状

BOOL CMydialog::OnInitDialog()
{
 CDialogSK::OnInitDialog();
 
 EnableEasyMove();
 SetBitmap(IDB_BITMAP1);
 SetStyle(LO_RESIZE);
 SetTransparentColor(RGB(255,0,255));

 return TRUE;  // return TRUE unless you set the focus to a control
               // EXCEPTION: OCX Property Pages should return FALSE
}

转载于:https://www.cnblogs.com/179252o88o/archive/2012/09/20/2695752.html

你可能感兴趣的:(根据图片修改对话框形状)