Click here to Skip to main content
15,889,992 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to create dynamic Menus in smart device application Pin
Stephane Rodriguez.4-Apr-03 21:25
Stephane Rodriguez.4-Apr-03 21:25 
GeneralIOCP in .NET Pin
BestSnowman4-Apr-03 14:06
BestSnowman4-Apr-03 14:06 
GeneralRe: IOCP in .NET Pin
Alex Korchemniy5-Apr-03 8:52
Alex Korchemniy5-Apr-03 8:52 
GeneralRe: IOCP in .NET Pin
James T. Johnson5-Apr-03 13:45
James T. Johnson5-Apr-03 13:45 
QuestionHow to call the default event handler? Pin
Alvaro Mendez4-Apr-03 11:51
Alvaro Mendez4-Apr-03 11:51 
AnswerRe: How to call the default event handler? Pin
neroknights4-Apr-03 12:00
neroknights4-Apr-03 12:00 
GeneralRe: How to call the default event handler? Pin
Alvaro Mendez4-Apr-03 12:27
Alvaro Mendez4-Apr-03 12:27 
GeneralRe: How to call the default event handler? Pin
neroknights7-Apr-03 5:08
neroknights7-Apr-03 5:08 
It would be a mistake for you not to call the parent's code, just as it is in MFC. Can you imagine if you override the OnPaint event and not call the parent's code. That would be dangerous, because the parent code most often than not is critical for it to function properly.

That being said however, if you really don't want to call the parent's code, then yes, you would have to derive your own Button class and override the OnClick.

Cheers
AnswerRe: How to call the default event handler? Pin
James T. Johnson5-Apr-03 13:21
James T. Johnson5-Apr-03 13:21 
QuestionHow would I make a button act like a ReadLine method Pin
Ioncycle4-Apr-03 10:05
Ioncycle4-Apr-03 10:05 
GeneralClass inheritance issue with XmlNodeList Pin
econner4-Apr-03 9:35
econner4-Apr-03 9:35 
GeneralRe: Class inheritance issue with XmlNodeList Pin
neroknights4-Apr-03 12:09
neroknights4-Apr-03 12:09 
GeneralGetting the FQDN of the host Pin
Arun Bhalla4-Apr-03 9:33
Arun Bhalla4-Apr-03 9:33 
GeneralClass Design Question Pin
Mark Sanders4-Apr-03 4:46
Mark Sanders4-Apr-03 4:46 
GeneralRe: Class Design Question Pin
Philip Fitzsimons4-Apr-03 4:53
Philip Fitzsimons4-Apr-03 4:53 
GeneralRe: Class Design Question Pin
Mark Sanders4-Apr-03 4:59
Mark Sanders4-Apr-03 4:59 
GeneralRe: Class Design Question Pin
Philip Fitzsimons4-Apr-03 5:09
Philip Fitzsimons4-Apr-03 5:09 
GeneralRe: Class Design Question Pin
Ranjan Banerji4-Apr-03 7:03
Ranjan Banerji4-Apr-03 7:03 
GeneralRe: Class Design Question Pin
Mark Sanders4-Apr-03 7:51
Mark Sanders4-Apr-03 7:51 
GeneralRe: Class Design Question Pin
Nnamdi Onyeyiri4-Apr-03 8:01
Nnamdi Onyeyiri4-Apr-03 8:01 
GeneralRespond to UI Messages Pin
Roger CS4-Apr-03 3:41
Roger CS4-Apr-03 3:41 
GeneralRe: Respond to UI Messages Pin
neroknights4-Apr-03 4:06
neroknights4-Apr-03 4:06 
GeneralRe: Respond to UI Messages Pin
Nick Seng6-Apr-03 16:45
Nick Seng6-Apr-03 16:45 
GeneralRe: Respond to UI Messages Pin
neroknights7-Apr-03 5:12
neroknights7-Apr-03 5:12 
GeneralRe: Respond to UI Messages Pin
Nick Seng7-Apr-03 16:12
Nick Seng7-Apr-03 16:12 

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.