Click here to Skip to main content
Licence 
First Posted 24 May 2004
Views 38,818
Bookmarked 15 times

Fancy Message Box

By | 24 May 2004 | Article
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

About the Author

DDLL

Web Developer

Australia Australia

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionAbout Your Dll? PinmemberZero_One_ADO20:11 19 Aug '04  
GeneralMessageBox PinmemberA_F18:30 25 May '04  
GeneralRe: MessageBox PinmemberAtif Mushtaq19:40 25 May '04  

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

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

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 25 May 2004
Article Copyright 2004 by DDLL
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid