Click to See Complete Forum and Search --> : Deciding if HWND a Folder


June 24th, 1999, 12:05 PM
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!

dev@furtherinnovations.com

Rail Jon Rogut
June 24th, 1999, 01:57 PM
Check if its class name is CabinetWClass.

Rail

Recording Engineer/Software Developer
Rail Jon Rogut Software
railro@earthlink.net
http://home.earthlink.net/~railro/

June 24th, 1999, 02:38 PM
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
dev@furtherinnovations.com