mIRC Home    About    Download    Register    News    Help

Print Thread
#237240 19/04/12 10:00 PM
Joined: Feb 2003
Posts: 105
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Feb 2003
Posts: 105
How can I change the default font in a multiline editbox in a dialog?


Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
You can't change fonts in dialogs. Not with standard dialogs anyway. You'd need a dll like DCX.

Joined: Feb 2003
Posts: 105
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Feb 2003
Posts: 105
Thanks for the reply.
Slightly tangentially, can you explain what the 'rich' style parameter is for?


cheers

Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
it gives you a richedit control instead of a "static text" control. The differences are minute now that mIRC is a Unicode application, but there are some subtle functionality differences regarding rendering and text formatting:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb787873(v=vs.85).aspx


Link Copied to Clipboard