Click here to Skip to main content
12,406,098 members (57,539 online)
Click here to Skip to main content
Add your own
alternative version

Stats

44.5K views
1K downloads
15 bookmarked
Posted

Fancy Message Box

, 24 May 2004
Rate this:
Please Sign up or sign in to vote.
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

Share

About the Author

DDLL
Web Developer
Australia Australia
No Biography provided

You may also be interested in...

Comments and Discussions

 
QuestionAbout Your Dll? Pin
Zero_One_ADO19-Aug-04 20:11
memberZero_One_ADO19-Aug-04 20:11 
GeneralMessageBox Pin
A_F25-May-04 18:30
memberA_F25-May-04 18:30 
GeneralRe: MessageBox Pin
Atif Mushtaq25-May-04 19:40
memberAtif 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.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160726.1 | Last Updated 25 May 2004
Article Copyright 2004 by DDLL
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid