I would like to add breadcrumbs navigation to a treeCtrl in wxWidgets C++ - similar to IE Explorer. Does anyone know if that exists somewhere? Or at least something similar to use as a starting point? Ideally I would like the breadcrumb to look and act natively on mac/unix/windows.
Thanks!
There is no breadcrumb control in wxWidgets, probably because there aren't actually native controls in Windows or GTK. The easiest way to create such a control is probably to draw it yourself, on OSX there is NSPathControl which I think may do what you want. There are also plenty links from this GTK bug on the issue with ideas, mockups and existing controls.
Related
I am learning XAML/Xamarin Forms, and have been making some initial apps. However, now I am trying to replicate a design.
Quite a lot of apps have a menu such as this:
Or this:
While also having tabs in the bottom of the page (iOS at least).
How is this achieved? If I make a TabbedPage, this adds tabs in the bottom, but adding this kind of extra "menu" - how is this done? What technique is used?
Seems is a segmented control, already exist a NuGet package created by alex rainman, You can take a look on this. maybe this will help you.
https://github.com/alexrainman/SegmentedControl
currently i'm developing an windows 10 uwp apps, and i'm getting trouble ini designing my apps
i'm planning to make some kind of a image slider or whatever it names, just like in the Store apps, on the top page. it looks like a banner slide or something.
but i hardly find it on tutorials anywhere in the internet nor in documentation.
i think and believe that this using a pivot, but i'm confuse how to style it. so if someone probably knows, how to achieve this, please kindly answer it.
thank you
you must use FlipView control.
Please check the documentation.
https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/flipview
Is there an AppBar button style that means "Open in Web Browser"?
This seems like a pretty common scenario, so maybe there's already a Microsoft style for it. Otherwise I guess I'll have to roll my own.
In lieu of a perfect match, I think the best is new window:
I think it conveys what you are wanting to say here.
It's U+E17C in Segoe UI Symbol.
You can also find it in Common/StandardStyles.xaml as NewWindowAppBarButtonStyle
The Modern UI Icons library has several icons that could be used. It contains a generic browser icon, as well as one for Chrome and IE.
I discovered this in a helpful Tim Heuer blog post about using font icons in Windows 8.1.
is it advisable to play with the controls to make my form look like this or should i just use this graphic and place it in the background. if the former, then please suggest which controls on the form i can tweak to make the form look like this?
alt text http://img10.imageshack.us/img10/2351/huesaturation.jpg
To create something like this, I would suggest moving from winforms to Windows Presentation Foundation (WPF) if you have the option. There is much better support for creating these type of rich interfaces in WPF, although it does mean introducing a .NET 3.0+ requirement to your application.
To get you started, here are some tutorials:
http://dotnetslackers.com/articles/silverlight/WPFTutorial.aspx
http://msdn.microsoft.com/en-us/library/ms752299.aspx
I've searched for the solution to change the background color on the Compact Framework's MainMenu control, and the only answer I've found is that you need to create a custom control. Does anyone have example code for this?
I did something vaguely similar where I wanted to handle the WM_EXITMENULOOP message which was not available as an event in .NETCF.
The solution was to "subclass" the Main Menu, an old MFC trick where you replace the WndProc function with your own, handle any windows messages (WM_EXITMENULOOP in my case) and call the base class WndProc for everything else.
Some sample code is available on Alex Yakhnin's blog on how to subclass a control:
Example of subclassing a window in .NETCF
In your case you'd actually be subclassing the Form that the MainMenu resides on, and I think WM_DRAWITEM would be the windows message you'd want to handle yourself.
I haven't tried changing the background color myself so not totally sure this will work, but subclassing would be where I'd start.
There is no way of doing this.
Your right in that you'll probably need to create your own control.
This was something I was considering doing anyway to make the application go on Windows CE and Windows Mobile.
The problem with adding menus when the application needs to work with both is that the menu goes to the top of the screen on Windows CE and covers any controls that might be there.
It would be less hassle in the long run just make a new control.
I tried to do something similar a while back and discovered that you have to write your own menu; essentially from scratch. I gave up because the project I was working on couldn't afford the expense. I also discovered that OpenNETCF has a pretty awesome menu control. I don't know if it's included in their free software, but it might be worth looking into.