PreCreateWindow - Why is it called twice for CMDIFrameWnd 
Author Message
 PreCreateWindow - Why is it called twice for CMDIFrameWnd

VC++ 4.2

Why is PreCreateWindow called twice? The second time through it seems to
pass a CDocument through instead of the Doc type specified in the template
- but this turns out to be an invalid pointer. What elements are valid
during each pass? Is there a safe test to perform to tell the difference
between each pass?

CW



Sun, 28 May 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Should CMainFrame's PreCreateWindow() get called twice ?

2. PreCreateWindow() function called twice?

3. PreCreateWindow called twice, feature or bug?

4. Why isn't PreCreateWindow called

5. Qestion: why isn't PreCreateWindow() called here

6. CAsyncSocket::OnAccept gets called twice, Why???

7. why remote object is activated twice when client call arrives

8. Why does it not go through PreCreateWindow routine?

9. How to attach a CMDIFrameWnd to the Application level CMDIFrameWnd

10. CMDIFrameWnd attaching to another CMDIFrameWnd

11. PreCreateWindow not called for CDialog??

12. CFrameWnd::PreCreateWindow - multiple calls

 

 
Powered by phpBB® Forum Software