T.S. Prasad
June 5th, 1999, 12:42 AM
Dear Sir,
In MFC programs, may I know the procedure for these problems:
1. After creation of a window and help menu attached to it, when the user clicks the help item, a Pop-up window appears. For this, don't we require the handle of the main (i.e., parent) window? How to get the handle for window? In class CFrameWnd, m_hWnd is a protected member!
2. In the above (question #1), when the user clicks the pop-up window, another pop-up window comes, and so on upto a limit, say 5. When the actual parent window is closed, all the offspring windows automatically get destroyed.
With many thanks,
Yours sincerely,
T.S. Prasad
In MFC programs, may I know the procedure for these problems:
1. After creation of a window and help menu attached to it, when the user clicks the help item, a Pop-up window appears. For this, don't we require the handle of the main (i.e., parent) window? How to get the handle for window? In class CFrameWnd, m_hWnd is a protected member!
2. In the above (question #1), when the user clicks the pop-up window, another pop-up window comes, and so on upto a limit, say 5. When the actual parent window is closed, all the offspring windows automatically get destroyed.
With many thanks,
Yours sincerely,
T.S. Prasad