Solved

MFC activeX for C-sharp

Posted on 2004-08-14
2
155 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
string initialization in java 11 103
T-SQL Debugging - Temp Object Content 2 48
matchUp  challenge 6 48
FizzBuzz challenge 9 71
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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…

762 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

7 Experts available now in Live!

Get 1:1 Help Now