473,387 Members | 1,798 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,387 software developers and data experts.

Using MSFlexGrid in VC++ 7.0

PVS
Hi,
I am new to VC++ 7.0.
I want to use MSFlexGrid in my dialog based MFC project in VC++ 7.0 (in VS
..NET IDE).
I added the MSFlexGrid control into my resource editor toolbox and I dragged
and dropped that control onto my dialog.
when I tried to assign a variable from my dialog class to this MSFlexGrid
control, it created a class with .h and .cpp files. The new class is
derived from CWnd. I am trying to change it to derive from CMSFlexGrid.
But I am getting error that "CMSFlexGrid is undeclared".

If I am doing any thing wrong please suggest me the right way.

Please help me in this.

Regards,
PVS
Nov 16 '05 #1
1 4925

This control is getting imported from VB. So all the properties have
been made private in c++ and corresponding get/put methods have been
imlemented in the class that is getting generated automatically when
you try adding a variable to the flex grid control.

ex: to set the current row programatically to 1, in VB, the method used
is

-Object-.row = 1

while the same in c++ can be implemented using the following method.

-Object1-.put_row(1);

this method will be available in the .cpp file that is getting
generated.

Hope this would clear your doubt...

You'll have to explore the cpp file to understand the mapping between
VB and c++ implementations of the methods.

Ramp
--
ramprasad.d
------------------------------------------------------------------------
ramprasad.d's Profile: http://www.hightechtalks.com/m651
View this thread: http://www.hightechtalks.com/t2136784

Jan 4 '06 #2

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

Similar topics

3
by: John Petersen | last post by:
Hi there I really hope someone had this problem before me. I have moved all our c++ projects from VC6 to VS.NET2003 and i have problems with nearly all dialogs containing either DateTimePicker...
0
by: Chris Baker | last post by:
How can I use a MSFlexGrid in VC .NET? I can't find it in the COM components? Is there a substitute?
0
by: Martin K | last post by:
Hello all..thanks for everyone's advice regarding my SHBrowseForFolder API problem, I was able to put together a public class that runs great! But I have another migration headache regarding the...
1
by: Mad Scientist Jr | last post by:
can someone explain how to simply populate a grid in .net ? the way i understand it, there is no more msflexgrid, and instead is this new control that has to be tied to a dataset, and it is a real...
1
by: schapopa | last post by:
Hi, I have a MSFlexGrid control on the SSTab and now I am trying to make it editable. I got some example on the net that explains how to achive that. So I have a text box that appears over the...
1
by: Tulasi | last post by:
Hi all, This is very uregent requirement.Requirement is, i am using MSFlexgrid in vb.net .At the run time this grid contains some data items.Any body knows how to print these rows using...
2
by: Ben | last post by:
after I migrated to dotNet, migration wizard transferred over my vb6.0 Msflexgrid activex com as a dll, it putted it in my bin dir as AxInterop.MSFlexGridLib.dll. however, I can't use this control...
1
by: zoneal | last post by:
Hi, I am involved in the process of migrating vb(6.0) application to vb.net. My application contains only vb controls namely MSFLEXGRID. I want to migrate my application to vb.net completely...
5
by: Ishmael | last post by:
Hi Is Been a 3 Yrs Now (I Still trying to do this) Please help me to do this with Visual Basic 6.0 using Msflexgrid Let say you are the Principal . You have 10 educators and 5 class (Grades)...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.