Manually adding controls to a wnd and their functions.
I'm trying to make a File->Open type of a window to pop up from my main dialog. I've made it manually. I connect to an FTP server and spit out the folders in the current directory into a ListBox. Now I want to add an OnSelchange() function that will go into the selected folder, open it and put the contents into the list box.
I can't do the message map properly.
and the error:
// Message map macros for CTestDialog will go here
the function is declared in the class and the definition is in the .cpp file. I'm not sure where to declare the message.
error C2065: 'ON_LB_SELCHANGE' : undeclared identifier