How to use UpdateLayeredWindow with UI Controls like buttons etc?:)
来源:互联网 发布:linux下创建多级目录 编辑:程序博客网 时间:2024/05/19 00:07
Marc Gregoire said,
- In my example I have this device context called hDC which will be used in the call to UpdateLayeredWindow. This is just a 32bit device context, so RGB and A channels. If you want to add PNG based buttons, load the PNGs (maybe using CImage class) and then render those PNGs at the right position in the hDC. Store the coordinates of your PNG buttons somewhere so you can use the coordinates in your WM_MOUSEMOVE and mouse button messages. Once everything is rendered to hDC, call UpdateLayeredWindow. I think this should give you what you want.
Prabhat said,
- Hi ,
I want to use Webbrowser control with transparent dialog. dilaog box should transparent but webbrowser control part should not transparent.
Thanks,
prabaht singh. Marc Gregoire said,
Try the above procedure. Create your bitmap and make sure the part where the webbrowser control should appear is not transparent;
- How to use UpdateLayeredWindow with UI Controls like buttons etc?:)
- ABAP---How to use controls
- ABAP---How to use controls
- How to use C# controls
- How to Use Densities for Controls
- How to make sexy buttons with CSS
- Excel Export, how to remove filter buttons etc
- How to use Vim like an IDE
- How to Use OLE in Rich Edit Controls
- How To Create a Modeless CPropertySheet with Standard Buttons
- how to use kendo.ui.Grid
- How To Use Linux epoll with Python
- How to use Trace2UML together with Doxygen
- How To Use Linux epoll with Python
- How to use Blocks with iOS
- how to use linux epoll with c
- How to use Django with uWSGI
- How to use passwords securely with wget
- java学习笔记(三)
- const 指针与指向const的指针
- 电子商务之框架分析(一)
- LayoutInflater类
- POJ 1611 The Suspects 并查集裸题
- How to use UpdateLayeredWindow with UI Controls like buttons etc?:)
- oracle三层带参数的增删改
- 电子商务之数据库分析(二)
- Knockout.js初探
- 项目管理_协作开发工具
- Dwr 实例教程
- CString转换成const char*的一种有效方法
- Objective-C 阅读笔记(对比C++的异同) (续)
- oracle之 DataBase Configuration Assistant