Solved

MFC activeX for C-sharp

Posted on 2004-08-14
2
162 Views
Last Modified: 2013-11-25
Hello

I am making a Csharp app. I am really fed up with the list view .net provides. It doesn't let you owner draw the items. and if you over ride the OnPaint event your stuck drawing the whole ting from scratch. I was think of created an ActiveX control in MFC and use that in my C# forms. I want to create a ListView that has checkboxes, displays yellow when item is selected and has icons. I wonder if activeX would be a good solution for this.

What about mixed C++, What would you recoomend as a good solution?
0
Comment
Question by:auk_ie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 11803323
This is possible, but this is a lot of work and you need to be very good in COM. I think it is better to use some existing pure .NET control and modify it if necessary. Take a look at this sample:

http://www.codeproject.com/cs/miscctrl/aa_listview.asp
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question