Click here to Skip to main content
15,883,901 members
Articles / Desktop Programming / MFC
Article

Fancy Message Box

Rate me:
Please Sign up or sign in to vote.
1.74/5 (14 votes)
24 May 2004 51.4K   1.1K   15   3
Fancy Message Box for use with MFC

Introduction

I always wanted to have some kind of replacement for the standard MFC Message Box available in VC++. So, the idea came up, and I created a simple COM based object which will display a message box you can see on the shot above. You can drag it and text will be scrolling up. Font size, color and scroll time are selectable.

Background

I have used some code for text scrolling ( despite that, had to fix some bugs with scroll timer settings) in the good sample I found here some time ago. Unfortunately cannot recall the author name. Sorry mate !

Using the code

Just open Demo project source file TestDlg.cpp - Handler for Button 1 is optional, use it if you like to change the default settings. Otherwise just use Button 2. Don't forget to initialize a COM object as usual. I think it is too easy for putting sample code and you'll find all you need in the source code.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionAbout Your Dll? Pin
Zero_One_ADO19-Aug-04 20:11
Zero_One_ADO19-Aug-04 20:11 
GeneralMessageBox Pin
A_Fa25-May-04 18:30
A_Fa25-May-04 18:30 
GeneralRe: MessageBox Pin
Atif Mushtaq25-May-04 19:40
Atif Mushtaq25-May-04 19:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.