|
-
April 20th, 1999, 07:32 AM
#1
OnSize not called
In my Doc_View application I have two view classes. In the extra view class that I created I place some text information. When I try to maximize or resize that window
it is not refreshed. My plan was for this view to call OnSize which then would take care of the repainting, but OnSize is never called when I click the maximize button
in the frame of that window. How shall I be able to call OnSize?
-
April 21st, 1999, 04:18 PM
#2
Re: OnSize not called
Assuming the OnSize function is correctly set up to handle the WM_SIZE windows message, the only reason why the WM_SIZE message is not getting to the window is that some other window is taking the message. This is likely to be the frame window, which isn't passing the message on.
There is a tool that can be used to see windows messages as they are being detected by your application. The tool is Spy++ and is part of the dev studio tools.
-
April 21st, 1999, 09:15 PM
#3
Re: OnSize not called
from the frame you might want to resend it to your view
sally
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
|