TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Adrian
NA
2
0
Passing an HWND from one control to another
Apr 21 2009 10:52 AM
Hello everyone,
Ok, I've got a HWnd (the HWND was returned from an ActiveX control). I pass the HWND to a .NET control written in C#. I try to pass the HWND using Control.FromHandle() function and I get a null in response.
Why?
I want to make a .NET control become a child of the ActiveX control (this is so I can cover it, if you really want a full explanation, see below), so if there is another way of doing this, please let me know.
Thanks,
Adrian
--
Full Explanation:
Using a language called LabVIEW 7.0. Doesn't allow for .NET controls, but does allow for .NET objects. Want to put control on a front panel of a LabVIEW window. LabVIEW doesn't expose the window handles, so created an AX control which is to return the handle of the AX control so that I can paste the .NET control on top of it. What a work around eh?
Reply
Answers (
0
)
input string was not in acorrect format
How to disable right click on the page.