How do you recieve the messages from dialog boxes that you set up in resource files?
I other words how do you know when something happened in a dialog box your app created?
How do you recieve the messages from dialog boxes that you set up in resource files?
I other words how do you know when something happened in a dialog box your app created?
In a perfect world every dog would have a home and every home would have a dog.
Visit My Web Site, Canine Programming
I use Win32 API
How did you create the dialog in the program?
in most cases you tell it where with the (DLGPROC)cast
ie
iKill=DialogBox(hInst, MAKEINTRESOURCE (IDD_THISDLG), hDlg, (DLGPROC)ThisDlgsCallback) ;
The msg's are sent to my ThisDlgsCallback(). A function you have written.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill