Re: finding opened window based on its handle ( C# )
From: Niki Estner (niki.estner_at_cube.net)
Date: 05/24/04
- Next message: C# Learner: "Why Do I Get a Compile Error Here?"
- Previous message: C# Learner: "Re: Hungarian notation and variable names"
- In reply to: Daniel H.: "finding opened window based on its handle ( C# )"
- Next in thread: Daniel H.: "Re: finding opened window based on its handle ( C# )"
- Reply: Daniel H.: "Re: finding opened window based on its handle ( C# )"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 23:02:45 +0200
Use Control.FromHandle.
Niki
"Daniel H." <anonymous@discussions.microsoft.com> wrote in
news:4C3DA720-6709-4B4D-B23F-44C37E625E5C@microsoft.com...
> Hi! When I create a new form programatically, I can save its handle in a
collection of some type.
> Later, I need to find that form based on a handle I saved and call one of
its functions. The newly created
> form can be a child of an MDI form but it very well may not be, so I can
not use MDIChildren.
>
> I am wandering how it can be done in C#, please?
>
> Thank you in advance,
>
> Dany
- Next message: C# Learner: "Why Do I Get a Compile Error Here?"
- Previous message: C# Learner: "Re: Hungarian notation and variable names"
- In reply to: Daniel H.: "finding opened window based on its handle ( C# )"
- Next in thread: Daniel H.: "Re: finding opened window based on its handle ( C# )"
- Reply: Daniel H.: "Re: finding opened window based on its handle ( C# )"
- Messages sorted by: [ date ] [ thread ]