Click here to Skip to main content
15,913,486 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to change the ProcessWindowStyle of a running process Pin
Alex Korchemniy1-Feb-05 8:37
Alex Korchemniy1-Feb-05 8:37 
GeneralRe: how to change the ProcessWindowStyle of a running process Pin
IsaacB1-Feb-05 10:33
IsaacB1-Feb-05 10:33 
GeneralRe: how to change the ProcessWindowStyle of a running process Pin
Dave Kreskowiak1-Feb-05 12:04
mveDave Kreskowiak1-Feb-05 12:04 
GeneralRe: how to change the ProcessWindowStyle of a running process Pin
IsaacB1-Feb-05 12:34
IsaacB1-Feb-05 12:34 
GeneralRe: how to change the ProcessWindowStyle of a running process Pin
Dave Kreskowiak1-Feb-05 17:33
mveDave Kreskowiak1-Feb-05 17:33 
Generalubject : programming with .NET Framework to browsing my bank account, buy and sell stock shares Pin
Close Network1-Feb-05 5:56
Close Network1-Feb-05 5:56 
GeneralRe: ubject : programming with .NET Framework to browsing my bank account, buy and sell stock shares Pin
Charlie Williams1-Feb-05 6:05
Charlie Williams1-Feb-05 6:05 
GeneralFire Events on Windows Border Pin
de9me1-Feb-05 4:54
de9me1-Feb-05 4:54 
I was trying to implement:

Form_MouseEnter(object sender, System.EventArgs e)
{
if(!this.Focused)
this.Focus();
}

I have child controls that fill the entire form... so MouseEnter event never gets fired. I figured that MouseEnter would fire as soon as the mouse touched the form border, but that is not the case as it only gets fired when inside the border (and if you have child controls that fill the form background, then it will never get fired). It would be nice to have all child controls automatically inherit the parent's event handlers (without writting a function call: ChildControl_MouseEnter { Form_MouseEnter } for every child control).

It appears that every child control overrides the parent's event handlers (at least out-of-the-box microsoft controls... not neccessarily true for custom controls).

Is there an easy way to have child controls automatically call their parent event handlers without implementing the child's mouseEnter event?

Better yet, is there a way that you can have event handlers fire based on the Windows Form Border (which seems to be tied into the O.S, such as when you click the title bar of a form... the control gets focus)?
GeneralRe: Fire Events on Windows Border Pin
Judah Gabriel Himango1-Feb-05 9:13
sponsorJudah Gabriel Himango1-Feb-05 9:13 
GeneralRe: Fire Events on Windows Border Pin
Heath Stewart1-Feb-05 9:53
protectorHeath Stewart1-Feb-05 9:53 
GeneralRe: Fire Events on Windows Border Pin
Judah Gabriel Himango1-Feb-05 10:09
sponsorJudah Gabriel Himango1-Feb-05 10:09 
GeneralRe: Fire Events on Windows Border Pin
Heath Stewart1-Feb-05 10:28
protectorHeath Stewart1-Feb-05 10:28 
GeneralRe: Fire Events on Windows Border Pin
Judah Gabriel Himango1-Feb-05 11:09
sponsorJudah Gabriel Himango1-Feb-05 11:09 
GeneralRe: Fire Events on Windows Border Pin
Heath Stewart1-Feb-05 10:00
protectorHeath Stewart1-Feb-05 10:00 
GeneralRe: Fire Events on Windows Border Pin
de9me1-Feb-05 10:24
de9me1-Feb-05 10:24 
GeneralHidden Process Pin
Esmo20001-Feb-05 3:11
Esmo20001-Feb-05 3:11 
GeneralRe: Hidden Process Pin
Robert Rohde1-Feb-05 3:26
Robert Rohde1-Feb-05 3:26 
GeneralRe: Hidden Process Pin
Esmo20001-Feb-05 3:39
Esmo20001-Feb-05 3:39 
GeneralRowFilter Pin
msogun1-Feb-05 2:03
msogun1-Feb-05 2:03 
GeneralRe: RowFilter Pin
Robert Rohde1-Feb-05 3:28
Robert Rohde1-Feb-05 3:28 
Questionhow can i delete a file in c#? Pin
vyki_c1-Feb-05 1:59
vyki_c1-Feb-05 1:59 
AnswerRe: how can i delete a file in c#? Pin
Stefan Troschuetz1-Feb-05 2:14
Stefan Troschuetz1-Feb-05 2:14 
AnswerRe: how can i delete a file in c#? Pin
Esmo20001-Feb-05 2:15
Esmo20001-Feb-05 2:15 
GeneralRe: how can i delete a file in c#? Pin
vyki_c1-Feb-05 2:29
vyki_c1-Feb-05 2:29 
Questionhow i can zip a folder using c# Pin
Mohammad Daba'an1-Feb-05 0:45
Mohammad Daba'an1-Feb-05 0:45 

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.