如何获得桌面、任务栏的句柄?

ThomasFan 2000-04-26 01:25:00
...全文
107 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
usage 2000-04-26
  • 打赏
  • 举报
回复
Desktop:GetDesktopWindow()
TrayWnd:EnumWindow()orFindWindow it's class name is Shell_TrayWnd
/* from: usage@263.net */
pino 2000-04-26
  • 打赏
  • 举报
回复
GetDesktopWindow()
The GetDesktopWindow function returns a handle to the desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which all icons and other windows are painted.
ffish 2000-04-26
  • 打赏
  • 举报
回复
任务栏ClassName为Shell_TrayWnd

CWnd* pWnd = FindWindow( "Shell_TrayWnd", NULL )
fyc_1 2000-04-26
  • 打赏
  • 举报
回复
桌面: GetDesktopWindow;
任务栏: classname=systabcontrol32
使用FindWindow

7,759

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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