Urgent help needed - handle to application window
Posted on 1998-11-30
HELP!! I am new to MFC programming and I'm really struggling with what seems like a really simple problem.
Ok, I have created an application using AppWizard. I have now started adding functionality to the application (the app will control a TWAIN complient scanner, and perform some image processing techniques). The code that is supplied with the TWAIN SDK uses the handle to window value (hwnd). The problem I have is obtaining this value when using MFC. I have tried everything I can think of, and desperately need some help.
I have tried: CWnd m_hWnd - no luck. I can't get FindWindow to work either.
Any help would be greatly appreciated.