Groups | Blog | Home
all groups > dotnet compact framework > july 2007 >

dotnet compact framework : MessageBox.Show and MessageBoxButtons.OK question



Minerva Jones
7/30/2007 6:58:48 PM

If I specify most combinations of available buttons in
MessageBox.Show, I get nice large and finger-friendly buttons
underneath my message. If I just specify MessageBoxButtons.OK, then
the OK button appears in the top right corner of the MessageBox in a
decidedly un-finger-friendly fashion. Is there anything I can do to
make OK appear in the same way as it does for OKCancel?

Thanks
Peter Foot [MVP]
7/30/2007 10:38:48 PM
This is the native API behaviour. You'll either need to use a box with more
than one option to show the proper buttons, or write your own custom dialog.
I built a Windows Mobile specific replacement in the Mobile In The Hand
suite (http://inthehand.com/content/Mobile.aspx) - Which uses the soft-keys
(like the standard Smartphone MessageBox -
http://peterfoot.net/FunctionalityInInTheHandWindowsMobileForms.aspx)

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

[quoted text, click to view]
AddThis Social Bookmark Button