Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CListCtrl Implementation on child dialog

Status
Not open for further replies.

nikoladsp

Programmer
May 21, 2002
1
YU
I wondering how to implement dialog similar to classic Find dialog using CListCtrl.I write an databeas application in which i want to add option to filter Access database and show results in CListCtrl which is placed on dialog.I call dialog from menu,but i just dont know how to pass informations from my CFormView class to created dialog?My dialog have only one parameter: integer called iFInv.I want to when user fill editbox with appropriate value and press button called Do to CListCtrl be filled with appropriate values.That is problem:when dialog is created i place in OnInitDialog() some values which are shown good,but i can change them in new,required values.
 
if your dialog is of type CDialog
you use CDialog myDialog and myDialog.DoModal().
And as you know the object will exist before the dialog is
displayed.
So you will pass all you want with
myDialog.myDialogsControl = 'what it should be'.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top