Solved

CGridCtrl, CListBox

Posted on 1997-10-14
4
851 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

20 Experts available now in Live!

Get 1:1 Help Now