tags:

views:

10

answers:

1

How can you set cursor for a child window from parent window without subclassing it?

+1  A: 

The WM_SETCURSOR message automatically gets passed to the parent so you can handle it there. If the child control actually handles it then you'll have to sub-class it. Or hack the message loop (yuck).

Hans Passant