Kiang Teng
Kiang Teng

Reputation: 1705

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

alt text

Control Mini Menu

alt text

Upvotes: 0

Views: 207

Answers (2)

rooks
rooks

Reputation: 1796

Yes, there is.

Upvotes: 1

Andrei Pana
Andrei Pana

Reputation: 4502

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).

Upvotes: 1

Related Questions