Click here to Skip to main content
15,918,041 members
Home / Discussions / C#
   

C#

 
GeneralRe: SendMessage() Pin
Rickard Andersson2022-May-02 21:17
Rickard Andersson2022-May-02 21:17 
GeneralVariable scope errors Pin
Steve Severance22-May-02 4:57
Steve Severance22-May-02 4:57 
GeneralRe: Variable scope errors Pin
James T. Johnson22-May-02 8:58
James T. Johnson22-May-02 8:58 
GeneralOnGotFocus Pin
Nish Nishant21-May-02 22:33
sitebuilderNish Nishant21-May-02 22:33 
GeneralRe: OnGotFocus Pin
James T. Johnson22-May-02 9:03
James T. Johnson22-May-02 9:03 
GeneralRe: OnGotFocus Pin
Nish Nishant22-May-02 14:42
sitebuilderNish Nishant22-May-02 14:42 
GeneralRe: OnGotFocus Pin
James T. Johnson22-May-02 15:05
James T. Johnson22-May-02 15:05 
GeneralRe: OnGotFocus Pin
Nish Nishant22-May-02 18:23
sitebuilderNish Nishant22-May-02 18:23 
James T. Johnson wrote:
Control lastFocused = null;private void ControlLeave(object sender, EventArgs e){ lastFocused = sender as Control;}private override OnLoad(EventArgs e){ EventHandler eh = new EventHandler(lastFocused); foreach(Control c in Controls) { c.Leave += eh; }}

Jambo Frown | :-(
That's not what I want at all!!!!

I don't have control over the other controls, okay?
I am writing my own control.
My control wont know what other controls are there in the form.

Nish


Regards,
Nish
Native CPian.
Born and brought up on CP.
With the CP blood in him.

GeneralRe: OnGotFocus Pin
James T. Johnson22-May-02 19:14
James T. Johnson22-May-02 19:14 
GeneralRe: OnGotFocus Pin
Nish Nishant22-May-02 19:41
sitebuilderNish Nishant22-May-02 19:41 
GeneralRe: OnGotFocus Pin
Chris Maunder22-May-02 15:30
cofounderChris Maunder22-May-02 15:30 
GeneralRe: OnGotFocus Pin
Nish Nishant22-May-02 18:27
sitebuilderNish Nishant22-May-02 18:27 
GeneralRe: OnGotFocus Pin
Rama Krishna Vavilala22-May-02 18:41
Rama Krishna Vavilala22-May-02 18:41 
GeneralRe: OnGotFocus Pin
Nish Nishant22-May-02 18:46
sitebuilderNish Nishant22-May-02 18:46 
GeneralRe: OnGotFocus Pin
Rama Krishna Vavilala23-May-02 3:53
Rama Krishna Vavilala23-May-02 3:53 
GeneralGraphics/Socket/Books Pin
BLaZiNiX21-May-02 19:21
BLaZiNiX21-May-02 19:21 
GeneralRe: Graphics/Socket/Books Pin
Neil Van Note21-May-02 19:37
Neil Van Note21-May-02 19:37 
GeneralRe: Graphics/Socket/Books Pin
Christian Graus21-May-02 19:40
protectorChristian Graus21-May-02 19:40 
GeneralNew C# Section Pin
Nick Parker21-May-02 17:10
protectorNick Parker21-May-02 17:10 
GeneralRe: New C# Section Pin
Nish Nishant21-May-02 17:12
sitebuilderNish Nishant21-May-02 17:12 
GeneralRe: New C# Section Pin
Nick Parker21-May-02 17:17
protectorNick Parker21-May-02 17:17 
GeneralRe: New C# Section Pin
Nish Nishant21-May-02 23:26
sitebuilderNish Nishant21-May-02 23:26 
GeneralRe: New C# Section Pin
Nick Parker21-May-02 17:22
protectorNick Parker21-May-02 17:22 
GeneralRe: New C# Section Pin
Nish Nishant21-May-02 23:27
sitebuilderNish Nishant21-May-02 23:27 
QuestionCould you please do me a favor? Pin
21-May-02 15:39
suss21-May-02 15:39 

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.