Solved

MFC activeX for C-sharp

Posted on 2004-08-14
2
157 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to adjust sheet 1 85
abstract class with all non abstract mentods 6 75
mapBully challenge 6 113
Change to event 1 99
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 …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now