Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi fellows,
my question is quite generic in nature I am looking for the way to create a common control that I want to use in MFC, Winforms and WPF application I need something like a pop down menu to show some options.
I look for global hook using win32 that allow place control on top of other application, but that's not good. I know using interop we are able to show winform control in MFC and WPF but is there any other easy solution available.
Posted
Comments
sreeyush sudhakaran 8-Oct-15 2:33am    
I think is no option other than creating COM control ( Create a Win32 dll type control from MFC)?
BillWoodruff 8-Oct-15 4:31am    
There is a way using Interfaces, and loading assemblies at run-time, but it is complex, and I strongly suggest you don't go down that road, but, instead create separate UserControls for WinForms and WPF. MFC I am not familiar with.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900