Results 1 to 40 of 41

Thread: [RESOLVED] MsgBox font properties

Hybrid View

  1. #1

    Thread Starter
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,918

    Re: MsgBox font properties

    Quote Originally Posted by Niya View Post
    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.

  2. #2

    Thread Starter
    PowerPoster Elroy's Avatar
    Join Date
    Jun 2014
    Location
    Near Nashville TN
    Posts
    10,918

    Re: MsgBox font properties

    Quote Originally Posted by Zvoni View Post
    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
  •  



Click Here to Expand Forum to Full Width