|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do i change the back color of messageboxAFAIK, you can´t with the standard MessageBox, since it obeys the
preferences of the user for Windows colors (Control Panel, Screen item). So, you have to use a custom form to show your messages. -- Show quoteCarlos J. Quintero MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET You can code, design and document much faster. http://www.mztools.com "Bala" <B***@discussions.microsoft.com> escribió en el mensaje news:F310CC7F-61EC-425C-8F00-DC72C9AD27B3@microsoft.com... > How do i change the back color of MessageBox Have you try to inherit a new class from the MessageBox class ?
I never try it but the MessageBox ins't sealed, so it would be possible. just have to override a few method or properties, i think hope that's help Show quote "Bala" <B***@discussions.microsoft.com> a écrit dans le message de news:F310CC7F-61EC-425C-8F00-DC72C9AD27B3@microsoft.com... > How do i change the back color of MessageBox The .NET MessageBox class is not a .NET form but a wrapper around the
MessageBox function of the user32.dll, so it obeys user settings. -- Show quoteCarlos J. Quintero MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET You can code, design and document much faster. http://www.mztools.com "Romain TAILLANDIER" <RomainDotTaillandier_nospam@MaintagDotCom_remove> escribió en el mensaje news:ekgH4FJ%23EHA.3616@TK2MSFTNGP11.phx.gbl... > Have you try to inherit a new class from the MessageBox class ? > I never try it but the MessageBox ins't sealed, so it would be possible. > just have to override a few method or properties, i think > > hope that's help >
Other interesting topics
|
|||||||||||||||||||||||