开发者

Getting the right window of "CtrlNotifySink"

开发者 https://www.devze.com 2023-01-05 14:48 出处:网络
I tried to get a hold on the icons of any folder, by going down this window tree: CabinetWClass ShellTabWindowClass

I tried to get a hold on the icons of any folder, by going down this window tree:

  1. CabinetWClass
  2. ShellTabWindowClass
  3. DUIViewWndClassName
  4. DirectUIHWND
  5. CtrlNotifySink
  6. SHELLDLL_DefView
  7. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消