473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Porting MFC CWnd class to ManagedC++

KK
Hi all
I have an MFC class named CCoordWnd derived from CWnd. Now I'm porting this
class to .Net.So,I started with deriving from class
System::Windows::Forms::UserControl.

MFC class CCoordWnd have overloaded constructors like these.

CCoordWnd(unsigned int cnum,CCoordWnd **myptr);
CCoordWnd(CCoordInterface *cip,CCoordWnd **myptr);
CCoordWnd(CCoordInterface *cip,unsigned int cnum,CCoordWnd **myptr);

and a member variable like this.
CCoordWnd ** m_myptr

Can anybody please help me how can I implement these functionality in
managed environment.

Thanks in Advance

Regards
Krishna
Nov 16 '05 #1
0 1022

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Doug Goodhew | last post by:
In the header file of a class Derived from a CWnd class I have imported the OCX. #import "msvbvm60.dll" rename("RGB", "myRGB") rename("EOF","myEOF") #import "GSEgrids.ocx" And created a...
2
by: Michael Sgier | last post by:
Hello i'm trying to port a windows program to linux with Kdevelop 1.question: unsigned char *LoadBitmapFile(char *filename, BITMAPINFOHEADER *bitmapInfoHeader); ...
2
by: Sam Riggens | last post by:
I am experimenting with C# and trying to use an unmanaged C++ dll. The UMC++ dll has a function defined as follows: extern "C" bool DllExport ShowLogonDlg(CWnd *pParent, CConfig& cfg); The...
1
by: Girish | last post by:
I was wondering if anybody has the implementation of CWnd::RunModalLoop/ CWnd::EndModalLoop in C# Mine is a single threaded application... what I want is, the application to wait at one point...
1
by: Ommund | last post by:
Hi I have an MFC application originally developed in VC++ 6.0. The port to VC++ 2003 went fine except for a few message handlers: In the .h file afx_msg void OnPingFailed( WPARAM wParam,...
2
by: Eitan | last post by:
Hello, I am creating a new window class based on CWnd. I am placing it on the View (CFormView). How can I get the notification or any other indication that the cursor/mouse is not on this...
0
by: Eitan | last post by:
Hello, I am creating a new window class based on CWnd. I am placing it on the View (CFormView). How can I get the notification or any other indication that the cursor/mouse is not on this...
1
by: lauch2 | last post by:
After performing the following steps, what happen to my application or the system: 1. My application has a class, namely CMyWnd, which is inherited from CWnd. 2. Instantiate a CMyWnd object by:...
5
by: BK-Chicago | last post by:
I am in the midst of porting a massive MFC application from VS6.0 to VS8.0. While i have fixed most of the compile time errors, i do have quite a linker error that i have not been able to resolve....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.