Hi All !

I'm creating normal CDialog and show it by DoModal(). Problem is that I need to know if user click rigth mouse button OUT of this dialog.

I try with SetCapture(). This is work, but mouse events not come to my controls in dialog, nc elements ect..

I don't want a solution without DoModal() (create->Show). Will be the best if window is modal.

Any ideas ?

Thnx in advance
OlekBa