Solved

CGridCtrl, CListBox

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 51
Macro to save highlighted rows as a separate file 5 45
Fibonacci challenge 11 133
wordmultiple challenge 12 142
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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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 shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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