Click here to Skip to main content
15,893,368 members
Home / Discussions / C#
   

C#

 
GeneralRe: .NET runtime environments Pin
ian mariano3-Feb-03 12:37
ian mariano3-Feb-03 12:37 
QuestionDetecting true or open or other type a font is? Pin
Member 1490692-Feb-03 7:23
Member 1490692-Feb-03 7:23 
QuestionAdding Controls to MenuItems? Pin
Jon Newman2-Feb-03 7:01
Jon Newman2-Feb-03 7:01 
AnswerRe: Adding Controls to MenuItems? Pin
Furty2-Feb-03 10:11
Furty2-Feb-03 10:11 
GeneralRe: Adding Controls to MenuItems? Pin
Jon Newman2-Feb-03 10:56
Jon Newman2-Feb-03 10:56 
GeneralRe: Adding Controls to MenuItems? Pin
Furty2-Feb-03 11:54
Furty2-Feb-03 11:54 
GeneralRe: Adding Controls to MenuItems? Pin
Jon Newman2-Feb-03 12:11
Jon Newman2-Feb-03 12:11 
GeneralRe: Adding Controls to MenuItems? Pin
Furty2-Feb-03 12:43
Furty2-Feb-03 12:43 
OK, I've done a little testing and the major problem seems to be the fact that Menu and MenuItem do not derive from System.Windows.Forms.Control. Form what I can see, the only way to acheive your goal would be to override the OnDrawItem and OnMeasureItem methods, and paint the control yourself. Naturally you would also need to handle mouse events etc for user interaction.

The bottom line is that it's a big task, you might be better off using one of notify icon ballon implementations here on CP, as they derive from forms, and therefore can host controls no problem.

Hope this has helped..
GeneralRe: Adding Controls to MenuItems? Pin
jtmtv182-Feb-03 14:36
jtmtv182-Feb-03 14:36 
GeneralSending Mail in C# Pin
Sassan Komeili Zadeh1-Feb-03 20:44
Sassan Komeili Zadeh1-Feb-03 20:44 
GeneralRe: Sending Mail in C# Pin
Vasudevan Deepak Kumar1-Feb-03 21:31
Vasudevan Deepak Kumar1-Feb-03 21:31 
GeneralRe: Sending Mail in C# Pin
leppie1-Feb-03 22:02
leppie1-Feb-03 22:02 
GeneralRe: Sending Mail in C# Pin
leppie1-Feb-03 22:10
leppie1-Feb-03 22:10 
GeneralRe: Sending Mail in C# Pin
Sassan Komeili Zadeh3-Feb-03 6:42
Sassan Komeili Zadeh3-Feb-03 6:42 
GeneralRe: Sending Mail in C# Pin
John Mautari11-Feb-03 5:36
John Mautari11-Feb-03 5:36 
QuestionComponents for spell checker and PDF generation ? Pin
Smitha Nishant1-Feb-03 17:36
protectorSmitha Nishant1-Feb-03 17:36 
AnswerRe: Components for spell checker and PDF generation ? Pin
jtmtv181-Feb-03 17:45
jtmtv181-Feb-03 17:45 
AnswerRe: Components for spell checker and PDF generation ? Pin
Vasudevan Deepak Kumar1-Feb-03 18:11
Vasudevan Deepak Kumar1-Feb-03 18:11 
GeneralFile Splitter Pin
Jassim Rahma1-Feb-03 17:32
Jassim Rahma1-Feb-03 17:32 
GeneralRe: File Splitter Pin
Vasudevan Deepak Kumar1-Feb-03 21:46
Vasudevan Deepak Kumar1-Feb-03 21:46 
Generalcoding styles Pin
jtmtv181-Feb-03 14:21
jtmtv181-Feb-03 14:21 
GeneralRe: coding styles Pin
Chris Austin1-Feb-03 16:02
Chris Austin1-Feb-03 16:02 
GeneralRe: coding styles Pin
Vasudevan Deepak Kumar1-Feb-03 18:13
Vasudevan Deepak Kumar1-Feb-03 18:13 
GeneralGetting crazy with Deny() Pin
marcossl1-Feb-03 13:06
marcossl1-Feb-03 13:06 
GeneralI am new here Pin
ThePhantomMenace1-Feb-03 9:14
ThePhantomMenace1-Feb-03 9:14 

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.