Hi,

I am trying to bring up a dialog box when the column header is clicked in a clistctrl. But when I have the dialog box appear, I can still click on buttons in the main window, behind my dialog window. I tried SetFocus(), but it doesn't seem to work. When I click once inside the dialog window, it then acts as normal, but I want to click on it the first time.

Can anyone help?

- Mark