App menu item adding WinForms - vb.net

In WinForms, is there a way to add an item to the popup menu when you click on the icon in the forms control bar? Apps I can think off that use this is Chrome, and Command Prompt.

there are no methods built into the BCL, but you can always pinvoke the Win32 functions. Check out InsertMenuItem for a starting point.

Related

What is different between Contextual Menu Button and Command Button in office ui fabric

Contextual Menu Button and Command Button looks like same in office ui fabric.what are the differences to use those button individually ?
Office ui fabric buttons
Its mostly a styling difference. Command Buttons are used in our command bar. All buttons can accept menuProps and have a contextual menu.

XamlSpy prevent me from doing actions

I installed XamlSpy using NuGet in my UWP app.
I debug my application and connect it successfully using the XamlSpy.
The problem is that every mouse hover is responses by XamlSpy what prevents me from clicking on buttons etc'...
How can I start inspect only when needed ?
I tried CTRL+Shift without success...
How can I start inspect only when needed
According to this article, Ctrl+Shift is worked for XAML Spy 2. By testing on my side, I guess you are using XAML Spy 3.
In that case, when you are using the XAML Spy desktop app to inspect, the "Select Visual" button which is for moving your mouse to the app, and click to select a visual in the user interface, is highlighted by default. You may need to click it to not highlight the button to stop inspecting, and click again can start inspecting again when you needed.

Custom tab control with close buttons

I want to have modern framework tab control (like in image) with close buttons that are removing tab like in chrome or firefox
http://i.stack.imgur.com/04sFX.png
is there any custom tab control like this or way to do this?
I've used fabtab in the past and it provides the features you are looking for. It is WPF.
https://fabtab.codeplex.com/

Refer to an element of a another page (Windows 8)

i am using a c# flyout in my windows 8 store app. When i open my custom flyout (i.e. Settings) i want to hide the advertisment that is in the page below the flyout. Is
there a way that i can refer to this Ad within the code of my flyout page?
Thanks very much
The best practice is to use attached behavior (see nuget package winrtbehavior), you can attach the property and when the popup is loaded you can invoke the command to hide the adcontrol

Menu bar button panels in Cocoa?

When I click on buttons in the menu bar (such as "About Program") when the program is running a new window pops up displaying information. How do I edit the windows associated with the buttons?
In Interface builder I manage to load "Main Menu" which allows me to customize the menu bar, but it doesn't allow me to work with the windows associated with the buttons. How would I edit these windows?
Mac OSX Snow Leopard, Xcode 3.2.6
EDIT: I am not specifically asking for steps for the "About Panel". I am looking for a general procedure for editing panels associated with buttons in the menu bar. In addition to the "About" panel I would also want to work with panels such as the "Help" panel. The "About" panel was just an example.
The standard About panel isn't in your nib; it's generated within the framework.
You can change the text of the panel by writing a Credits.rtf or Credits.html file and including that in your app bundle. (You may already have Credits.rtf supplied by the project template. If so, you should just edit that.)
If you want to make more radical changes, you'll need to create your own panel and change your About menu item to show it instead.
As far as a general procedure...no, there's no single procedure that would let you customize any standard panel in the same way. They all have their own mechanisms (e.g. some can display more panes when plug-in components are installed; some provide APIs to hide or show certain parts; some, like the About box, use bundle filename conventions to decide what to do).
For the Help panel specifically...you can't change anything about it except the web page (i.e. the help content). The toolbar, etc. is all handled by Apple. I suggest looking at this documentation for more, which also links to other important documents:
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/OnlineHelp/Concepts/ComprehenHelp.html%23//apple_ref/doc/uid/20000017-BBCCFHAC