Click here to Skip to main content
15,911,646 members
Home / Discussions / C#
   

C#

 
GeneralRe: Checking an objects inheritance Pin
Heath Stewart9-Apr-04 4:40
protectorHeath Stewart9-Apr-04 4:40 
GeneralInheriting attributes Pin
cnurse8-Apr-04 15:18
cnurse8-Apr-04 15:18 
GeneralRe: Inheriting attributes Pin
Heath Stewart9-Apr-04 4:33
protectorHeath Stewart9-Apr-04 4:33 
GeneralC# - Self documenting code Pin
cnurse8-Apr-04 15:13
cnurse8-Apr-04 15:13 
GeneralRe: C# - Self documenting code Pin
Heath Stewart9-Apr-04 4:27
protectorHeath Stewart9-Apr-04 4:27 
GeneralRunning Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Bupkus8-Apr-04 13:31
Bupkus8-Apr-04 13:31 
GeneralRe: Running Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Colin Angus Mackay8-Apr-04 14:12
Colin Angus Mackay8-Apr-04 14:12 
GeneralRe: Running Hello World examples, but MessageBoxIcon Enumeration[s] don't provide unique icons. Pin
Heath Stewart9-Apr-04 4:22
protectorHeath Stewart9-Apr-04 4:22 
If you want a better message box, create one. With the MessageBox in the FCL, what you see is what you get. This P/Invokes the native MessageBoxEx API, which is also limited.

Just build a Form derivative with a lot of the same functionality, perhaps exposing a public property for setting icons or stick the with single, overloaded method like MessageBox.Show where you can provide a custom icon. The Form derivative should be smart enough to resize itself when need and to allow for the customization of Buttons based on what's needed, as well as where to place them. It's really not as hard as it might sound, though, and many developers including myself have done this from time to time to provide a more feature-rich dialog.

 

Microsoft MVP, Visual C#
My Articles
GeneralCLients Communication without server Pin
Member 7326718-Apr-04 13:18
Member 7326718-Apr-04 13:18 
GeneralRe: CLients Communication without server Pin
Colin Angus Mackay8-Apr-04 14:20
Colin Angus Mackay8-Apr-04 14:20 
GeneralRe: CLients Communication without server Pin
Heath Stewart9-Apr-04 4:11
protectorHeath Stewart9-Apr-04 4:11 
GeneralRe: CLients Communication without server Pin
Heath Stewart9-Apr-04 4:18
protectorHeath Stewart9-Apr-04 4:18 
GeneralCollectionEditor Pin
Jamie Nordmeyer8-Apr-04 12:49
Jamie Nordmeyer8-Apr-04 12:49 
GeneralRe: CollectionEditor Pin
Colin Angus Mackay8-Apr-04 14:30
Colin Angus Mackay8-Apr-04 14:30 
GeneralRe: CollectionEditor Pin
dacris8-Apr-04 18:03
dacris8-Apr-04 18:03 
GeneralRe: CollectionEditor Pin
Heath Stewart9-Apr-04 4:01
protectorHeath Stewart9-Apr-04 4:01 
GeneralRe: CollectionEditor Pin
Heath Stewart9-Apr-04 4:06
protectorHeath Stewart9-Apr-04 4:06 
GeneralRe: CollectionEditor Pin
Jamie Nordmeyer9-Apr-04 5:12
Jamie Nordmeyer9-Apr-04 5:12 
QuestionDoes anyone did a project of ticket agency? Pin
Natnael8-Apr-04 10:41
Natnael8-Apr-04 10:41 
AnswerRe: Does anyone did a project of ticket agency? Pin
Colin Angus Mackay8-Apr-04 14:39
Colin Angus Mackay8-Apr-04 14:39 
GeneralListView Control not showing entire string text - Windows Forms Pin
Jasim Iqbal8-Apr-04 10:29
Jasim Iqbal8-Apr-04 10:29 
GeneralMouse moves when I change background on WinXP desktop Pin
Flack8-Apr-04 10:06
Flack8-Apr-04 10:06 
GeneralA problem with transactions.. Pin
benqazou8-Apr-04 9:21
benqazou8-Apr-04 9:21 
GeneralRe: A problem with transactions.. Pin
Heath Stewart8-Apr-04 11:12
protectorHeath Stewart8-Apr-04 11:12 
GeneralRe: A problem with transactions.. Pin
Anonymous8-Apr-04 12:17
Anonymous8-Apr-04 12:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.