Solved

CGridCtrl, CListBox

Posted on 1997-10-14
4
865 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
[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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
unable to delete all specified values regedit 38 918
Detect CR LF to each line 12 185
fizzArray2 challenge 1 112
Fibonacci challenge 11 141
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.

710 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