|
-
Dec 16th, 2021, 10:47 AM
#1
Re: MsgBox font properties
 Originally Posted by Niya
I strongly suspect that changing the font changes the Static control's dimensions though.
That's a good point, and not difficult to check. I'll take a look at it.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
-
Dec 16th, 2021, 10:49 AM
#2
Re: MsgBox font properties
 Originally Posted by Zvoni
FWIW, a "Static"-Control (probably in C++) is what we usually call a "Label"-Control in vb6
Zvoni, I don't think that's quite right. Labels are "light-weight" controls that really aren't controls at all, but rather just stuff drawn onto their parent. They don't even have a hWnd.
This MsgBox "static" control does have a hWnd. As such, it's more like a locked TextBox, but that's not quite true either because we can't copy-paste from it.
It's just some kind of special control for message boxes, sort of like a user control with a label on it.
Any software I post in these forums written by me is provided "AS IS" without warranty of any kind, expressed or implied, and permission is hereby granted, free of charge and without restriction, to any person obtaining a copy. To all, peace and happiness.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|