Hi, I will make my problem more clearer this time.
Hopefully, some experts out there can give me some hints on it.
My goal is to find out if my form get focus because of the user
clicking on the pictureBox on it. Is it possible to find out this
action.
My form only has a pictureBox control on it, and it has no border
style.
I tried to trap WM_MOUSEACTIVATE in WndProc, but WM_MOUSEACTIVATE
fires up even the form already has the focus.
I can't find a reliable way to detect the situation.
I am about to give up, is it possible?
Thanks,
Stanley