One way would be to set up a hook and catch the WM_CREATE message (when the messagebox is created). By doing this, you can subclass the messagebox when it gets created. Then you can set the font via the WM_SETFONT message.