I'm using a Control Validating delegate to validate a field when it loses
focus. My delegate may pop up a message box, and may cancel the validation.
When I tap on the popup selector of a SysDateTimePick32 hosted by an
OpenNETCF ControlEx, it immediately pops up its picker, which appears on top
of my message box. The last message seen in my ApplicationEx event loop was
WM_LBUTTONDOWN.
Similarly, if I select a menu option that displays a message box, I get both
message boxes.
I tried adding an IMessageFilter to my control, looking for LBUTTONDOWN
messages that are going to other windows, but haven't figured out how to tell
if another window will take the focus (so tapping on labels causes
validation).
Has anyone solved this problem, or seen documentation on how to approach it?
Thanks,
--
David