Help! (CWnd::Invalidate() and CWnd::SetFocus()) 
Author Message
 Help! (CWnd::Invalidate() and CWnd::SetFocus())

Help!

I'm writing an application with VC++ 1.52.

In some cases, when I call CWnd::Invalidate() from one of my own
message-handlers:

CMyWnd::OnMouseActivate()
{
  m_pOtherWnd->Invalidate();

Quote:
}

nothing will happen!

And when I call CWnd::SetFocus() from a message-handler, OnSetFocus() for this
window will never be called...

Funny: The problem occurs only when the application runs under Win3.11, with
Win95 everthing will be Ok!

Any ideas?

Oliver ;->



Fri, 02 Feb 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. How to put a CWnd within another CWnd?

2. calling DestroyWindow in CWnd::~CWnd

3. Confused!!! CWnd::GetDlgItem or CWnd::GetDescendantWindow

4. HELP: Getting IUnknown from CWnd

5. Help on CWnd::SetWindowText function

6. CWnd::EnableToolTips - HELP!!!!

7. Help: How do I implement NUM and CAPS indicators using a CWnd derived window (not CFrameWnd)

8. HELP: Get CWnd* for Windows Desktop

9. Convert CWnd to HWnd *HELP!!!*

10. HELP: Getting IUnknown from CWnd

11. Help .. Please: CWnd::OnDeviceChange

12. Help with CWnd pointers

 

 
Powered by phpBB® Forum Software