VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



ucMsgBox System MsgBox SubClasser

by TerriTop (17 Submissions)
Category: Custom Controls/Forms/Menus
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (17 Votes)

ucMsgBox is a single-file UserControl which uses Paul Caton’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!!! -------------------------------------------------------------------------(Update 16Mar07 – v1.0.240) Fixed minor bug in the SetProcessPriority Method, Added support for all default WinXP Luna Styles (Blue (Blue), Olive Green (HomeStead), Silver (Metallic). Enhance Win9x drawing style to support custom captions, Added Caption Property to provide custom button captions, Added CaptionType Property to allow rapid switching between default and custom captions, Added Subclass_StopAll to the zIdx Method to prevent loss of Mouse and Keyboard inputs when the hWnd is null (see zIdx Method Notes).
Enjoy, TerriTop

Rate ucMsgBox System MsgBox SubClasser

Download ucMsgBox System MsgBox SubClasser

Download ucMsgBox System MsgBox SubClasser (264 KB)

ucMsgBox System MsgBox SubClasser Comments

No comments have been posted about ucMsgBox System MsgBox SubClasser. Why not be the first to post a comment about ucMsgBox System MsgBox SubClasser.

Post your comment

Subject:
Message:
0/1000 characters