I can't offer any solution because as Knowledge Base article Q79981
"INFO: Overlapping Controls Are Not Supported by Windows" says,
overlapped controls aren't really supported.
Your particular situation probably arises because somewhere Windows
enumerates the child windows and finds the first one that contains the
area that you've clicked on. If you can circumvent this aspect -
perhaps by detecting the mouse click operation on the view window and
performing your own reverse order enumeration of the child windows,
then that may be one solution.
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.