LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

messagepopup text size

I was wondering if ther was a way in increase the font size of the text in the MessagePopup() window?
0 Kudos
Message 1 of 5
(4,417 Views)
You'll find some suggestion in this discussion


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(4,412 Views)
So The only way I can controll the text size for a popup is to use panels and not the built in MessagePopup correct?
0 Kudos
Message 3 of 5
(4,404 Views)
Building your own panel gives you the ability to define in detail the aspect of each particular message of yours, even movin far apart from windows standards; changing system attributes maintains the look and feel of the OS which can be important for the operator (he does not need to become familiar with some "new" messages and popup).

It's to you to decide wether to follow one path or the other.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 5
(4,401 Views)
Hello Jim_81,

In order to change the font and size of the text associated with MessagePopup, you can add the following keys (this applies to CVI 7.1)*:
MessageBoxFontName
MessageBoxFontSize

to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\CVI Run-Time Engine\cvirte

The keys need to be of type STRING.

For instance, if you wanted to change the font of the messagebox to Garamond and size 20, your registry would look something like:



*As with anything, I would be careful when making changes to your registry.

Thanks.

Message Edited by Wendy L on 06-15-2005 02:02 PM

Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 5 of 5
(4,376 Views)