CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 1999
    Posts
    19

    Help With ClistCtrl Column Heading

    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


  2. #2
    Join Date
    Apr 1999
    Posts
    306

    Re: Help With ClistCtrl Column Heading

    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.


  3. #3
    Join Date
    Apr 1999
    Posts
    19

    Re: Help With ClistCtrl Column Heading

    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?



  4. #4
    Join Date
    Apr 1999
    Posts
    306

    Re: Help With ClistCtrl Column Heading

    If you need some help, we need to see some of your code. Otherwise there is no actual way to guess what is wrong.


  5. #5
    Join Date
    Apr 1999
    Location
    Bangalore, India
    Posts
    25

    Re: Help With ClistCtrl Column Heading

    Is it a modal dialog box?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured