Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CGridCtrl, CListBox

Posted on 1997-10-14
4
Medium Priority
?
880 Views
Last Modified: 2013-11-20
anybody has sample codes for using  CGridCtrl, or CListBox?  on how to create them, and draw them display data through them, and get data through them... i would greatly appreciate it. specially if there are comments describing the codes...
0
Comment
Question by:mallow
  • 2
4 Comments
 

Expert Comment

by:fakir
ID: 1308177
Not an enough precise question ?
What do you expect ?

0
 

Author Comment

by:mallow
ID: 1308178
Edited text of question
0
 
LVL 3

Accepted Solution

by:
shaig earned 150 total points
ID: 1308179
Add a CListBox through your RC editor, then add a member variable from type CListBox through class wizard to your dialog ( with the coresponding ID ).
the member variable will be created automaticly for you by MFC, when the dialog will be created, you can first modify it in
'virtual OnInitDialog - WM_INITDIALOG' of your dialog.
use the CListBox:  AddString,DeleteString... to modify text inside the your list box data member.
0
 

Author Comment

by:mallow
ID: 1308180
thanks, shaig
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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.
Suggested Courses
Course of the Month10 days, 13 hours left to enroll

885 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