Click here to Skip to main content
15,881,139 members
Articles / Programming Languages / C#

How to extend the native MessageBox dialog in .NET

Rate me:
Please Sign up or sign in to vote.
4.75/5 (13 votes)
4 Aug 2007CPOL8 min read 287.7K   1.2K   74  
This article introduces a way to extend the native MessageBox dialog without using Windows Hooks and message processing.

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CoderSky.Demonstration.Windows", "CoderSky.Windows.Demonstration\CoderSky.Demonstration.Windows.csproj", "{CE857FF5-A05A-4332-ACB3-5B12A69D34D3}"
	ProjectSection(WebsiteProperties) = preProject
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.Debug = "False"
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Babu.Windows", "Babu.Windows\Babu.Windows.csproj", "{B354A232-FB49-40CF-B163-F24BD074CA80}"
	ProjectSection(WebsiteProperties) = preProject
		Debug.AspNetCompiler.Debug = "True"
		Release.AspNetCompiler.Debug = "False"
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{CE857FF5-A05A-4332-ACB3-5B12A69D34D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{CE857FF5-A05A-4332-ACB3-5B12A69D34D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{CE857FF5-A05A-4332-ACB3-5B12A69D34D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{CE857FF5-A05A-4332-ACB3-5B12A69D34D3}.Release|Any CPU.Build.0 = Release|Any CPU
		{B354A232-FB49-40CF-B163-F24BD074CA80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{B354A232-FB49-40CF-B163-F24BD074CA80}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{B354A232-FB49-40CF-B163-F24BD074CA80}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{B354A232-FB49-40CF-B163-F24BD074CA80}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions