Solved

CGridCtrl, CListBox

Posted on 1997-10-14
4
849 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
Comment Utility
Not an enough precise question ?
What do you expect ?

0
 

Author Comment

by:mallow
Comment Utility
Edited text of question
0
 
LVL 3

Accepted Solution

by:
shaig earned 50 total points
Comment Utility
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
Comment Utility
thanks, shaig
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa‚Ķ
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This video discusses moving either the default database or any database to a new volume.

772 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

10 Experts available now in Live!

Get 1:1 Help Now