如何隐藏/显示任务栏

willwl 2006-07-09 06:39:42
有个操作需要先隐藏任务栏一下,完成以后重新将任务栏设回原有状态,有人作过么,调什么函数啊,谢谢哈
...全文
1969 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
xqk 2006-07-10
  • 打赏
  • 举报
回复
将窗口样式设置成工具栏窗口 就可以了
折腾_苏州 2006-07-09
  • 打赏
  • 举报
回复
http://blog.csdn.net/seu07201213/archive/2006/07/07/891274.aspx
kugou123 2006-07-09
  • 打赏
  • 举报
回复
FindWindow("Shell_TrayWnd",NULL)->ShowWindow(SW_HIDE);//隐藏任务栏
FindWindow("Shell_TrayWnd",NULL)->ShowWindow(SW_SHOW);//显示任务栏
DentistryDoctor 2006-07-09
  • 打赏
  • 举报
回复
This section describes the Microsoft Windows Shell messages and notifications.


ABM_ACTIVATE
Notifies the system that an appbar has been activated. An appbar should call this message in response to the WM_ACTIVATE message.

ABM_GETAUTOHIDEBAR
Retrieves the handle to the autohide appbar associated with an edge of the screen.

ABM_GETSTATE
Retrieves the autohide and always-on-top states of the Windows taskbar.

ABM_GETTASKBARPOS
Retrieves the bounding rectangle of the Windows taskbar.

ABM_NEW
Registers a new appbar and specifies the message identifier that the system should use to send it notification messages. An appbar should send this message before sending any other appbar messages.

ABM_QUERYPOS
Requests a size and screen position for an appbar. When the request is made, the message proposes a screen edge and a bounding rectangle for the appbar. The system adjusts the bounding rectangle so that the appbar does not interfere with the Windows taskbar or any other appbars.

ABM_REMOVE
Unregisters an appbar by removing it from the system's internal list. The system no longer sends notification messages to the appbar or prevents other applications from using the screen area occupied by the appbar.

ABM_SETAUTOHIDEBAR
Registers or unregisters an autohide appbar for an edge of the screen.

ABM_SETPOS
Sets the size and screen position of an appbar. The message specifies a screen edge and the bounding rectangle for the appbar. The system may adjust the bounding rectangle so that the appbar does not interfere with the Windows taskbar or any other appbars.

ABM_SETSTATE
Sets the autohide and always-on-top states of the Windows taskbar.

ABM_WINDOWPOSCHANGED
Notifies the system when an appbar's position has changed. An appbar should call this message in response to the WM_WINDOWPOSCHANGED message.

ABN_FULLSCREENAPP
Notifies an appbar when a full-screen application is opening or closing. This notification is sent in the form of an application-defined message that is set by the ABM_NEW message.

ABN_POSCHANGED
Notifies an appbar when an event has occurred that may affect the appbar's size and position. Events include changes in the taskbar's size, position, and visibility state, as well as the addition, removal, or resizing of another appbar on the same side of the screen.

ABN_STATECHANGE
Notifies an appbar that the taskbar's autohide or always-on-top state has changed

ABN_WINDOWARRANGE
Notifies an appbar that the user has selected the Cascade, Tile Horizontally, or Tile Vertically command from the taskbar's shortcut menu.

15,978

社区成员

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

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