Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2006

Tip: Looking for answers? Try searching our database.

Controlling Msgbox colors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed - 19 Feb 2006 10:45 GMT
   I use the heck out of the 'msgbox' command. Msgbox resizes as it handles
more (or less) message text, more (or fewer) buttons, etc. It seems,
therefore, a waste of time to try to duplicate the auto-sizing aspects with
a UserForm.

   However, the background color of the msgbox is not consistent with the
colors I have chosen for my UserForms.Can I control the background and
button colors of msgbox using VBA?

    Thanks,

         Ed
Jezebel - 19 Feb 2006 10:55 GMT
Not directly. There are API calls you can use, but it would be easier to
roll your own with a UserForm.

>    I use the heck out of the 'msgbox' command. Msgbox resizes as it
> handles more (or less) message text, more (or fewer) buttons, etc. It
[quoted text clipped - 8 lines]
>
>          Ed
RB Smissaert - 22 Feb 2006 23:25 GMT
I have recently put together a VB6 ActiveX dll that is a replacement MsgBox
with colour support and a lot more.
If you want I can send you the dll, which is about 15 kB zipped.

RBS

>    I use the heck out of the 'msgbox' command. Msgbox resizes as it
> handles more (or less) message text, more (or fewer) buttons, etc. It
[quoted text clipped - 8 lines]
>
>          Ed
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.