闲闲流水

2013年3月14日

mfc中的透明窗体的设置

摘要: Using Layered WindowsTo have a dialog box come up as a translucent window, first create the dialog as usual. Then, onWM_INITDIALOG, set the layered bit of the window's extended style and callSetLayeredWindowAttributeswith the desired alpha value. The code might look like this:// Set WS_EX_LAYERE 阅读全文

posted @ 2013-03-14 21:06 闲闲流水 阅读(277) 评论(0) 推荐(0) 编辑

导航