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

    Deciding if HWND a Folder

    Here's a nice one..

    Given an HWND, I need a way [95/98/NT] to determine if the window is a folder.
    (eg "My Computer", "Program Files" etc.) I've tried for quite a while and I"m
    stuck...

    Any ideas MUCH appreciated!

    [email protected]


  2. #2
    Join Date
    May 1999
    Location
    CA, USA
    Posts
    586

    Re: Deciding if HWND a Folder

    Check if its class name is CabinetWClass.

    Rail

    Recording Engineer/Software Developer
    Rail Jon Rogut Software
    [email protected]
    http://home.earthlink.net/~railro/

  3. #3
    Guest

    Re: Deciding if HWND a Folder

    Yeah, I know.. The tricky part was figuring out how to get the windowclass
    safely. I just hope that CabinetWClass or ExploreWClass are A: always
    used in folders and B: never used anywhere else.

    Anyone know if this is a valid assumption?

    -adam
    [email protected]


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