Click to See Complete Forum and Search --> : Help With ClistCtrl Column Heading


Mark E
May 30th, 1999, 06:23 AM
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

ric
May 30th, 1999, 12:31 PM
I don't seem to understand your question very well, but just in case you have not noticed -- are you returning FALSE after you have set the focus.

Mark E
May 31st, 1999, 02:14 AM
Hi,

I want the user to type in a heading on a ctrllist . When the user clicks on the heading (used for sorting) I want the user to type in a heading in a dialog box. The Dialog box does not seem to have the focus, when it opens.

Any ideas?

ric
May 31st, 1999, 05:25 AM
If you need some help, we need to see some of your code. Otherwise there is no actual way to guess what is wrong.

Vicky
June 9th, 1999, 03:59 AM
Is it a modal dialog box?