Announcement

Collapse
No announcement yet.

Fonts in MSGBOX?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fonts in MSGBOX?

    I have written a VERY simple program that shows the size of
    selected drives (drives A-Z). It shows the volume names,
    total bytes, free bytes, and used bytes. It uses MSGBOX to
    display the results, a drive at a time. My question is:
    is there a way to change the fonts used by MSGBOX from
    within the EXE, independent of the 32-bit Windows settings?
    If not, I will be VERY daring and finally start using LISTBOX
    (if that's what it's called) to display program results. <grin>
    But, I'd much rather continue using MSGBOX with this particular
    program.

  • #2
    Winapi32.hlp says, "Although the message box is a dialog box,
    Windows takes complete control of the creation and management
    of the message box."

    In other words, nope, doesn't seem to be possible.

    ------------------

    Comment


    • #3
      download uls32 from my site..
      Shows an easy way to do that..


      ------------------
      [email protected]
      hellobasic

      Comment


      • #4
        i extended a sample, posted in http://www.powerbasic.com/support/pb...ad.php?t=22770

        [this message has been edited by semen matusovski (edited august 14, 2000).]

        Comment


        • #5
          Sir Edwin Knoppert,

          What's the URL for your site? While I'm waiting for your reply,
          I'm going to run by the code posted by Semen M. following your
          reply to my original message.


          ------------------

          Comment


          • #6
            You need to click the 'profile' icon right above my head

            Semen does something similar by using a global hook i believe.
            My sample was VB sample (2x!)
            The hook was a temp. hook on the current form instead..

            Pick your choice..

            ------------------
            [email protected]
            hellobasic

            Comment

            Working...
            X