CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 34

Hybrid View

  1. #1
    Join Date
    Jul 2004
    Posts
    105

    Question Finding out control IDs

    Can anyone tell me how to find the control IDs for the "Name","size","type", and "Modified" buttons that come up in an Open/Save dialog box when the Details button is pressed? Or does anyone know these control IDs?

    Thanks!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396
    Do you mean the header control titles of a ListCtrl?
    I think there is no Control ID for a column header.

  3. #3
    Join Date
    Jul 2004
    Posts
    105
    I don't know what they are called. they are the buttons that appear when you press the Details button in any Open/Save dialog. They are the ones that allow you to sort the files by name, type, size, or modified. What I want to do is have the list of files sorted by one of these before the open/save dialog opens to the user. I already know how to simulate a button being pressed but i need the control id.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396
    See the post #2.
    These "buttons" are not the Buttons. They are the part (parts) of the Header control, not the controls themselves!

  5. #5
    Join Date
    Jul 2004
    Posts
    105
    So does that mean there is no way to access or control them?

  6. #6
    Join Date
    Jul 2004
    Posts
    105

    Angry

    I dont know. I am a beginner at this stuff. Why did you get mad at me and give me a bad reputation. I am learning. Thanks a lot.

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396
    Quote Originally Posted by senkyoshi
    So does that mean there is no way to access or control them?
    Take a look at these (and, perhaps, you will find some more) usefull Paul DiLascia's articles:
    http://msdn.microsoft.com/msdnmag/issues/0800/c/
    http://msdn.microsoft.com/msdnmag/issues/02/01/c/

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