How can I check is window under cursor splitter?
Printable View
How can I check is window under cursor splitter?
Do you mean MFC splitter window (CSplitterWnd ow CSplitterWndEx) or any custom splitter?
If the latter - there is no way (IMHO) detect it if you don't know the window class name.
If the former - then it could be tricky: class names could be AfxMDIFrame42, AfxMDIFrame42d, AfxMDIFrame100ud, ...
Sounds like "AfxMDIFrame" + version (42 for VC++6.0, 100 for VS2010, ...) + [optional "u" for unicode] + [optional "d" for debug].
But note that it is NOT documented!!!