?
Solved

using grid controls

Posted on 1998-10-28
2
Medium Priority
?
250 Views
Last Modified: 2008-02-01
I am trying to change all instances of my edit boxes to grid controls. I am having a lot of trouble getting started. If someone who has used this control before(msflexgrid or msdbgrid) could give me a little info on how to get started I would really appreciate it. I really need to know how and where to make calls to the various member functions of the grid class. Every time I try I get undeclared indentifier errors even though I have my ".h" files included.
0
Comment
Question by:bellman
[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 2

Expert Comment

by:jrmcg
ID: 1176404
>> change all instances....
Can you be a little clearer?  Do you have say, 25 edit boxes that you would like to change to a 5X5 grid?

Can you tell me how you are going to implement the grid control?  What exactly do you want to accomplish with it?

What you want to do will decide what kind of grid you want to use.

Let me know and I am sure I can help.

J.R.
0
 

Accepted Solution

by:
azlinda earned 100 total points
ID: 1176405
When you insert a msflexgrid or a msdbgrid to your project, a wrapper class containing all the member functions available for that control will be generated.  So, in your ClassView pane, there will be a class called CMSFlexGrid or CMSDBGrid. I would assume that you place your grid on a dialog box. If so, then you can make calls to the member functions in the same dialog class.   Normally, the msflexgrid.h is inserted in your dialog class for you when you insert the grid into your project.  eg, if your dialog class is called msflexdlg.h, then it will contain #include "msflexgrid.h" at the top. If this #include is not there, then you can type it in manually.  That should be it, you can start trying to use all the member functions provided in the wrapper class now.

I hope that helps...
 
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Suggested Courses

752 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