IonicWind Software

Aurora Compiler => Coding Help - Aurora 101 => Topic started by: nico on July 14, 2007, 04:51:07 PM

Title: Handle of Control
Post by: nico on July 14, 2007, 04:51:07 PM
Hello,

How to obtain the Handle of Control?
Title: Re: Handle of Control
Post by: ExMember001 on July 14, 2007, 08:12:49 PM
if i understand your question the answer should be
example:

//example with an edit control
CEdit *m_ed;
Unsigned INT Handle = m_ed->m_hwnd;
Title: Re: Handle of Control
Post by: Bruce Peaslee on July 14, 2007, 11:05:57 PM
If you want the handle of the control to do something with it:


CStatic *myStatic; // note it's a pointer
myStatic = GetControl(N);    // N is the control number used when control was created
myStatic-> SetText("Text for control");
Title: Re: Handle of Control
Post by: nico on July 15, 2007, 07:17:05 AM
Merci! :)