S
Steve Marsden
Hi
With WIN32 you could create your own Window Class (not C++ Class) which you
registered with RegisterClass, create and code a windowproc for this window
and then host that window on a dialog box using the Custom Control and
specifying class as the name of the Window Class you registered and hey
presto you could have your own window/control on a dialogbox.
Is there a way to do this with a Windows Form.
We have a large WIN32 C application which we have just complied with /CLR
and are starting to slowly convert/integrate with ..NET and Windows Forms
but we have quite a few of these Window Classes which for now it would be
great to host on a Windows Form rather have to port all the code to C++ and
Object Classes etc.
Anyone know if this is possible and how?
Thanks
Steve
With WIN32 you could create your own Window Class (not C++ Class) which you
registered with RegisterClass, create and code a windowproc for this window
and then host that window on a dialog box using the Custom Control and
specifying class as the name of the Window Class you registered and hey
presto you could have your own window/control on a dialogbox.
Is there a way to do this with a Windows Form.
We have a large WIN32 C application which we have just complied with /CLR
and are starting to slowly convert/integrate with ..NET and Windows Forms
but we have quite a few of these Window Classes which for now it would be
great to host on a Windows Form rather have to port all the code to C++ and
Object Classes etc.
Anyone know if this is possible and how?
Thanks
Steve