CMessageBoxX 1.06

MFC class to create message boxes.
CMessageBoxX - From the Settings window of DEMO application you can set the message box parameters.
  2 Screenshots
CMessageBoxX was developed to be a MFC class to encapsulate the MessageBox API. It subclasses the message box window to allow additional customisation.

The application is using a standard CWnd derived class, so you can use standard MFC message maps in the class itself and any classes you derive from it.

Main features:

  • Implements standard support for automatic addition of icons just like in MFC.
  • Allows custom icons to be easily added to the message box.
  • Implements timed out message box support with specific timeout button. The timeout can also be reset based on mouse or keyboard activity.
  • Implements disabled button support. Helpful where you want to implement Nag screens when you want to remind an end user to register your product.
  • Implements support for including checkboxes on the message box. For example you can implement "Don't remind me again" type message boxes.
  • Includes support for right aligned buttons instead of the default for the MessageBox API which is to have the buttons cantered.
  • Integrates with MFC support for message box help context.
  • Fully Unicode compliant.
  • Optionally supports HTML in your message box via the QHTM HTML control
  • Supports selectable text in your message boxes.
  • Includes support for user defined animated text and captions

last updated on:
May 19th, 2014, 11:36 GMT
file size:
45 KB
license type:
developed by:
Naughter Software
operating system(s):
Windows All
C: \ Programming \ Components & Libraries
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
2 Screenshots
CMessageBoxX - From the Preview window you can see how the message box will appear after you personalized it.
What's New in This Release:
  • Updated copyright details.
  • Updated the code to compile cleanly on VC 2012 and later. Further changes were required to achieve this because MFC in Visual Studio 2012 has been reworked to use the SDK style fusion wrappers rather than those in the now defunct afxcomctl32.h header file.
  • Updated the SetCaption method to operate where AfxGetApp() returns NULL.
  • Updated the project settings to more modern default values.
read full changelog

Add your review!