Big MessageBox

G

Guest

Hi,

I'm writing an application for a device with a touch screen using c# 2.0/
Visual Studio 2005. Since a touch screen is used, the fonts and buttons need
to be big. Unfortunatly I found no way to configure the MessageBox - neither
with manipulation of the object nor with subclassing. There are only static
methods and no access to the object. Did I overlook something?

My next approach was to make my own class BigMessageBox by subclassing Form.
But now I'm having problems with the dynamic size of the message. If you look
at the original MessageBox, the form first grows horizontally up to a
certain extent and then begins to wrap the text and grow vertically. How can
I do that? I tried Label and TextBox. Any help appreciated!

-Puce
 
M

Mattias Sjögren

I'm writing an application for a device with a touch screen using c# 2.0/
Visual Studio 2005. Since a touch screen is used, the fonts and buttons need
to be big. Unfortunatly I found no way to configure the MessageBox - neither
with manipulation of the object nor with subclassing. There are only static
methods and no access to the object. Did I overlook something?

The font size for message boxes can be set globally in the Control
Panel Display applet.


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top