如何获得任务栏的位置和大小? [英] How do I get the taskbar's position and size?

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

问题描述

我想知道如何获得矩形(顶部,底部,左,右)的任务栏占用。我怎么去用C#这样做呢?

I want to know how to get the rectangle (bottom, top, left, and right) that the taskbar occupies. How do I go about doing this in C#?

推荐答案

您必须调用一些的Windows API:

You have to call some Windows APIs:

<一个href=\"http://winsharp93.word$p$pss.com/2009/06/29/find-out-size-and-position-of-the-taskbar/\">http://winsharp93.word$p$pss.com/2009/06/29/find-out-size-and-position-of-the-taskbar/

这篇关于如何获得任务栏的位置和大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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