Sends an appbar message to the system.
Syntax
Parameters
- dwMessage [in]
-
Type: DWORD
Appbar message value to send. This parameter can be one of the following values.
-
ABM_NEW (0x00000000)
-
0x00000000. Registers a new appbar and specifies the message identifier that the system should use to send notification messages to the appbar.
-
ABM_REMOVE (0x00000001)
-
0x00000001. Unregisters an appbar, removing the bar from the system's internal list.
-
ABM_QUERYPOS (0x00000002)
-
0x00000002. Requests a size and screen position for an appbar.
-
ABM_SETPOS (0x00000003)
-
0x00000003. Sets the size and screen position of an appbar.
-
ABM_GETSTATE (0x00000004)
-
0x00000004. Retrieves the autohide and always-on-top states of the Windows taskbar.
-
ABM_GETTASKBARPOS (0x00000005)
-
0x00000005. Retrieves the bounding rectangle of the Windows taskbar.
-
ABM_ACTIVATE (0x00000006)
-
0x00000006. Notifies the system to activate or deactivate an appbar. The lParam member of the APPBARDATA pointed to by pData is set to TRUE to activate or FALSE to deactivate.
-
ABM_GETAUTOHIDEBAR (0x00000007)
-
0x00000007. Retrieves the handle to the autohide appbar associated with a particular edge of the screen.
-
ABM_SETAUTOHIDEBAR (0x00000008)
-
0x00000008. Registers or unregisters an autohide appbar for an edge of the screen.
-
ABM_WINDOWPOSCHANGED (0x00000009)
-
0x00000009. Notifies the system when an appbar's position has changed.
-
ABM_SETSTATE (0x0000000A)
-
0x0000000A. Windows XP and later: Sets the state of the appbar's autohide and always-on-top attributes.
-
- pData [in, out]
-
Type: PAPPBARDATA
The address of an APPBARDATA structure. The content of the structure on entry and on exit depends on the value set in the dwMessage parameter.
Return Value
Type: UINT_PTR
This function returns a message-dependent value. For more information, see the Windows SDK documentation for the specific appbar message sent. Links to those documents are given in the See Also section.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具