请问Proerty Sheet控件制作Wizrad时,如何使用watermark

softlight0001 2007-08-29 09:15:50
请问Proerty Sheet控件制作Wizrad时,如何使用watermark
因为我使用的是VC++6.0
所以,使用的控件是IE 5.0 common controls,watermark貌似需要 5.8以上的控件才支持。
我在Oct。2001版MSDN上查到一个折中的解决方案,但是有一段英文始终不懂,请达人指教,不懂段落如下:
The CPropertySheetEx constructor takes the handle to the bitmap (fourth parameter) you want to use as the watermark on your property page. It also takes an HPALETTE. Pass this as NULL if you want to use the default palette to paint the watermark. (The watermark is not always displayed. We'll see that later.) Finally, the last additional parameter is the HBITMAP you might want to use for painting the header of your property page. Yes, CPropertyPageEx lets you have a header at the top of every page. If you choose to display the header, this bitmap is used to paint the header, if this is NULL, it uses the handle to the watermark bitmap (fourth parameter) to paint the header.
该文的其余部分,大意是使用IE 5.0 common controls后,讲CPropertySheet和CPropertyPage全部替换成CPropertySheetEx和CPropertyPageEx,然后进行上述英文段落的操作,但是没看懂上述段落,所以不会。请指教。
...全文
93 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
jameshooo 2009-02-03
  • 打赏
  • 举报
回复
这个不关IE版本的事,现在使用IE5的几乎没有了,而且只要SDK版本是最新的,VC6也能开发vista应用。
只要你的开发环境里存在CPropertySheetEx,就可以直接用了,可能需要在stdafx.h里面修改一下IE版本号定义。
majiaLT01 2009-02-03
  • 打赏
  • 举报
回复
up

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧