mfc中 控件 对话框 添加颜色 背景图片

1 设置对话框透明

 

 

 

 

 

 

 

 

在设置控件颜色中要使用

nCtlColor

Contains one of the following values, specifying the type of control:

  • CTLCOLOR_BTN   Button control

  • CTLCOLOR_DLG   Dialog box

  • CTLCOLOR_EDIT   Edit control

  • CTLCOLOR_LISTBOX   List-box control

  • CTLCOLOR_MSGBOX   Message box

  • CTLCOLOR_SCROLLBAR   Scroll-bar control

  • CTLCOLOR_STATIC   Static control

posted @ 2014-06-19 11:08  苍洱  阅读(255)  评论(0编辑  收藏  举报