OnInitDialog( ) function VC++
Posted on 2001-08-15
This is my first time using VC++:
I'm trying to follow a database tutorial from a book and it isn't clear or it leaves out how to accomplish this simple task of adding names of database tables to a list box.
I want to add the following code:
m_TableList.AddString(" my database ");
("where m_TableList is the variable name associated with my list box")
to the OnInitDialog() function
My problem is i don't know where this function is, I
thought is would have been automatically generated from the addition of the list box, but i cant seem to find it.
So if someone can tell me where the OnInitDialog() function is or where to and how to create it if that's what's necessary, my problem will be solved.