Title: ucMsgBox - System MsgBox SubClasser
Description: ucMsgBox is a single-file UserControl which uses Paul Caton&#8217;s self-subclassing thunk to provide the ultimate control over the System MsgBox. This control allows the developer to Change/Set the Startup Alignment (CenterScreen, CenterOwner), Prompt Alignment (Left, Center, Right), Fonts, Icons (Native + Custom), BackColor, and ForeColor. In addition, the Theme state of the MsgBox dialog is customizable and supports Auto, Win9x, and WinXP button Themes. Moreover, ucMsgBox provides the mechanism to turn any MsgBox into a SelfClosing dialog with countdown enumeration. To provide accuracy of the countdown, one can set the ThreadPriority to allow for high resolution timing. In short, this UserControl takes the standard MsgBox to a new level with out changing one line of code for standard MsgBox calls!!!
Enjoy this early holiday gift, TerriTop
This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=67387&lngWId=1

The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.
