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

C#

 
GeneralRe: weird break point Pin
Rahul Walavalkar3-Nov-03 2:29
Rahul Walavalkar3-Nov-03 2:29 
Generalpanel round corners... Pin
FreJa2-Nov-03 0:28
FreJa2-Nov-03 0:28 
GeneralRe: panel round corners... Pin
Heath Stewart2-Nov-03 11:01
protectorHeath Stewart2-Nov-03 11:01 
GeneralRe: panel round corners... Pin
Douglas Troy4-Nov-03 6:40
Douglas Troy4-Nov-03 6:40 
GeneralFor a inherent class, why its events can not be inherented Pin
chq121-Nov-03 13:42
chq121-Nov-03 13:42 
GeneralRe: For a inherent class, why its events can not be inherented Pin
leppie1-Nov-03 20:43
leppie1-Nov-03 20:43 
GeneralRe: For a inherent class, why its events can not be inherented Pin
chq122-Nov-03 4:31
chq122-Nov-03 4:31 
GeneralRe: For a inherent class, why its events can not be inherented Pin
Heath Stewart2-Nov-03 11:05
protectorHeath Stewart2-Nov-03 11:05 
Did you override any ControlStyles with Control.SetStyle? If not, you overwrote some other functionality and caused the button control to not get notification of click events. What else did you do to it?

And, yes, everything inherited is still callable from derivitive classes unless overridden or hidden (through the new modifier for non-virtual methods / properties). That why you should look to see what else you did the derivitive button class. For instance, if you used SetStyle(ControlStyles.Selectable, false), the click even shouldn't fire anymore. Overridding WndProc is especially dangerous if you don't forward non-handled messages back to the base (with base.WndProc).

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: For a inherent class, why its events can not be inherented Pin
chq122-Nov-03 14:34
chq122-Nov-03 14:34 
GeneralRe: For a inherent class, why its events can not be inherented Pin
Heath Stewart3-Nov-03 2:37
protectorHeath Stewart3-Nov-03 2:37 
GeneralRe: For a inherent class, why its events can not be inherented Pin
chq124-Nov-03 5:39
chq124-Nov-03 5:39 
GeneralStatus Bars Pin
hammackj1-Nov-03 13:07
hammackj1-Nov-03 13:07 
GeneralRe: Status Bars Pin
Daniel M. Edwards1-Nov-03 13:35
Daniel M. Edwards1-Nov-03 13:35 
GeneralRe: Status Bars Pin
hammackj1-Nov-03 14:16
hammackj1-Nov-03 14:16 
GeneralUrgent help, about a inherit button class Pin
chq121-Nov-03 13:06
chq121-Nov-03 13:06 
GeneralRe: Urgent help, about a inherit button class Pin
Alex Korchemniy1-Nov-03 15:30
Alex Korchemniy1-Nov-03 15:30 
GeneralRe: Urgent help, about a inherit button class Pin
chq122-Nov-03 4:26
chq122-Nov-03 4:26 
GeneralRe: Urgent help, about a inherit button class Pin
Steve S3-Nov-03 2:57
Steve S3-Nov-03 2:57 
GeneralSynchronization Pin
peter27131-Nov-03 12:23
peter27131-Nov-03 12:23 
GeneralRe: Synchronization Pin
Jeff Varszegi1-Nov-03 20:42
professionalJeff Varszegi1-Nov-03 20:42 
GeneralRe: Synchronization Pin
peter27131-Nov-03 23:42
peter27131-Nov-03 23:42 
GeneralRe: Synchronization Pin
jparsons3-Nov-03 10:31
jparsons3-Nov-03 10:31 
QuestionDisplay MIME parts of e-mails? Pin
trungbkvn1-Nov-03 5:21
trungbkvn1-Nov-03 5:21 
AnswerRe: Display MIME parts of e-mails? Pin
Heath Stewart2-Nov-03 11:13
protectorHeath Stewart2-Nov-03 11:13 
GeneralRe: Display MIME parts of e-mails? Pin
trungbkvn4-Nov-03 1:13
trungbkvn4-Nov-03 1:13 

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.