At which point in your code are you checking these bounds? If it is in a
form code, does it have a MainMenu control?
[quoted text, click to view] "dermite" <dermite@discussions.microsoft.com> wrote in message
news:75DCB2F1-F875-4A1C-894E-F3BE0936939B@microsoft.com...
> Folks,
>
> For a Pocket PC (CF .NET 2.0) application, I'd like to be able to
> determine
> programmatically the location of the top of the menu bar at the bottom of
> the
> screen. No doubt this problem has some perfectly obvious solution, but for
> the life of me I can't figure out what it is.
> Screen.PrimaryScreen.WorkingArea takes into account the top menu bar, but
> not
> the bottom one. That is, Screen.PrimaryScreen.WorkingArea.Top !=
> Screen.PrimaryScreen.Bounds.Top, but
> Screen.PrimaryScreen.WorkingArea.Bottom
> = Screen.PrimaryScreen.Bounds.Bottom. This doesn't seem right. An
> explanation
> would be much appreciated.
>
> TIA,
>
> Matthew Fleming
> DermVision