I think it's a flexible way to hanlde every message that can't not be reveiced by using Class Wizard. It's not the best, I know, but it can help you overcome... :)
Long.
It's very easy. I'm not sure it's the best solution but if you do the following and you'll reach the target:
- create a new dialog resource in ResourceView, it's supposed to be IDD_DIALOGBAR
- insert a new MFC class that derives from CWnd (choose "generic CWnd" as the base class) and...
You can declare a public member variable or provide the variable through a ::getInt member function. The other solution is to declare the first dialog as a friend class of the second dialog.
Cheers,
Long.
Thank you for your reply, but both of you misunderstand me. I have received an EXE file, it's used to open my files and display contents of the files but I cannot GET THE TEXT OF CONTENTS. I'v tried to use Spy++ to get the "window handle" and create a new CEdit from this handle but it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.