|
-
August 3rd, 1999, 07:47 AM
#1
How to make window call OnDraw() of its views?
I have SDI application and split it for two views. And when i proccess mesg (menu item chosen) i delete view in one part of split window.
How can i call OnDraw() of all views of that window from itself?
Thanks.
-
August 3rd, 1999, 08:03 AM
#2
Re: How to make window call OnDraw() of its views?
From View,
GetDocument()->UpdateAllViews(NULL);
From MainFrame,
GetActiveDocument()->UpdateAllViews(NULL);
Wayne
-
August 3rd, 1999, 08:06 AM
#3
Re: How to make window call OnDraw() of its views?
Try Invalidate() and see if it does what you want.
Will
-
August 5th, 1999, 03:28 AM
#4
Re: How to make window call OnDraw() of its views?
m_Splitter.GetPane(row,col)->Invalidate();
or:
SendMessage(m_Splitter.GetPane(row.col)->m_hWnd,
WM_PAINT,0,0);
the beautiful story made me cry.
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
|