I tried to get a hold on the icons of any folder, by going down this window tree:
- CabinetWClass
- ShellTabWindowClass
- DUIViewWndClassName
- DirectUIHWND
- CtrlNotifySink
- SHELLDLL_DefView
- DirectUIHWND
however, I am stuck in DirectUIHWND, because there are more than one child with the class name "CtrlNotifySink". I need to get a hold on a specific "CtrlNotifySink".. the one that have the child "SHELLDLL_DefView".
h开发者_运维知识库ow can I do it?
Thanks, Aviad S.
You might be going about this the wrong way.
If you want to find out what folder windows the user has open, and look at the items within them, take a look at the scriptable shell objects. The examples on MSDN are mainly in VB and Javascript, but the approach applies to C# as well.
精彩评论