win32程序如何查看windows中任务栏的位置? [英] How to check the position of taskbar in windows in win32 program?

查看:42
本文介绍了win32程序如何查看windows中任务栏的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 win32(vc++) 在 Windows 中编写一个小应用程序,我想根据任务栏的位置创建一个不同的视图.如何像任何 api 一样检查任务栏在代码中的位置?

I'm writing a small application in Windows using win32(vc++) and I want to create a different view based on the position of the taskbar. How can I check the position of taskbar in code like any api?

推荐答案

您可以使用 SHAppBarMessage() 函数与 ABM_GETTASKBARPOS 消息.

You can use the SHAppBarMessage() function with the ABM_GETTASKBARPOS message.

这篇关于win32程序如何查看windows中任务栏的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆