|
-
June 5th, 1999, 12:42 AM
#1
MFC
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
-
June 5th, 1999, 05:51 AM
#2
Re: MFC
1. Use GetSafeHwnd();
2. What you need them to stay?
-
June 8th, 1999, 07:29 AM
#3
Re: MFC
Dear Sir/Madam,
Thank you very much for your suggestion. I hope I will obtain such benefits from peers like you in future, too.
With many thanks,
Yours sincerely,
T.S. Prasad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|