开发者

Replicating Windows Explorer Change View Control

I want to implement the following control in my application. Is there an existing control out there? If not, can anyone suggest what default control I should base my custom control on.

Pictures开发者_如何学运维 for clarification:


Control on Toolbar

Replicating Windows Explorer Change View Control

Control Mini Menu

Replicating Windows Explorer Change View Control


Yes, there is.


If you use Spy to look at the controls in Windows 7 Explorer, you will see that the whole part that contains the toolbar (and the button with this control you like) is of class DirectUIHWND. Now, although you can find some info on the Internet about this class, this class is not documented anywhere by Microsoft so this mean that it might not be available in the next version of windows, so your program will probably not work if you base your code on it.

However, it seems it's a relative simple popup control so it should be easy to implement it in WPF (based on a Popup control).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜