BCGSoft > Products > Product feature tour

Product feature tour

Context | First | Prev | Next | Last
Fully implemented BCGControlBar Pro (MFC)
Fully implemented BCGSuite (MFC)
Not available BCGControlBar (Microsoft .NET)

Advanced Message Boxes

BCGPMessageBox enhances the standard Windows Message Box component. The following features are provided out of the box:

  • Office/Visual Studio theme support
  • Custom look
  • Custom icons and buttons
  • Check box control
  • Left and right text alignment
  • TaskDialog-like header ("Main instruction")
Sample code:
// Setup message box parameters:
BCGP_MSGBOXPARAMS params;

params.lpszCaption = _T("Caption";
params.lpszText = _T("Hello World !!!");
params.dwStyle = MB_ICONASTERISK | MB_OK;

// Display the message box:
int nResult = BCGPMessageBoxIndirect (¶ms);
Prev  Next