WinForms Toolbox shows not existing controls? - visual-studio

I pressed the right mouse button and selected the "Show All" option.
After that, a lot of duplicates of the same controls appeared. However, there are controls that I have not seen before. The problem is that they are disabled, I can't put them on the form.
I tried to find them in the list by right clicking and selecting "Choose Items...", but they are not in any of the tabs.
How can I find and enable these controls?

Show all will display all controls, for example, the MFC Control you screenshot should be a C++ control:
https://learn.microsoft.com/en-us/cpp/mfc/controls-mfc?view=msvc-170
You created a Windows Forms App (.NET Framework), you just need to uncheck the Show all and all the controls you can use will be displayed in the toolbar.

Related

VSTO Outlook: Outlook does not maintain the position of a custom button within the ribbon menu

I have a custom button that I place in the ribbon menu but what I observe is that sometimes the button is visible and sometimes not, it depends on the size of the explorer and compose windows. If you resize to a smaller size it is not visible and if you resize to a bigger size it is visible. It only happens in simplified view but not in classic. So in simplified view it seems Outlook decides which buttons are being shown and which not based on a criteria that I don't know, maybe on the space available in the ribbon menu which in turn depends on the size of the window?
Anyway, If I click on commands bar button ("..." three dots button) at the end of the ribbon menu and then from that menu I do a mouse right click on my button and select "Pin to ribbon" for it, then my button is always visible in the ribbon menu regardless of if the view is classic or simpified or even if window is resized to any size.
Is there any way programmatically to indicate Outlook to always show my button in the ribbon menu?
No, the Outlook extensibility model (nor the Fluent UI) doesn't provide anything for that. You may try using RegMon for Windows to track windows registry changes in case if Outlook keeps such preferences there.

Toolbar buttons are disabled by default for Lion Cocoa app

I've created an interface nib/xib file. The app is basically working, which is cool. The standard toolbar buttons look bad, they're glossy and raised, while most apps in Lion have the flat, inner bevel look. So I created some image toolbar buttons and put them in the toolbar and they look great, but they're all disabled by default.
Is there a way to give these the correct state in InterfaceBuilder or do I have to use code to give them the proper state.
Cocoa and Objective C are very unfamiliar so it would be helpful to me if I just knew what to search for. Most of my searching brings me results for creating custom buttons for iOS.
I figured this out, here's what you do:
In the nib/xib file, double click your menu bar to show the "allowed toolbar items" sheet. From here, choose your button that you've created. In my case I'll select a back button that I want to connect to a webview control. Ctrl click + drag from the button to what you want to connect it to and then make the appropriate connection. In my case I choose goBack from the WebView.
Once it has a connection it now becomes active.

In VS-2010, how to prevent Toolbox from covering up the current window?

I'm used to VS-2008, with "MDI" IDE, aka "Overlapping Windows". This doesn't seem to be an option in VS-2010, so now when I have, say Form1 open, and click the toolbox...it slides over and totally obscures Form1.
So...a great solution would be telling me if there's a way to get vs2010 to allow the MDI interface.
Otherwise, how can I get the toolbox to slide and also slide the set of tabbed windows over so I can see what I'm dragging a control onto?
Thanks,
--Jim
Have you tried pinning the toolbox? There should be a pin icon on the top of the toolbox. If you click it, the toolbox will stay on the screen, but it will resize the Form1 window to make room for the toolbox window.

How to enable scrolling when input panel is open in windows phone 7

I am developing an application for windowns phone 7. On the screen I have 4-5 text boxes and at the end I have created one button. Now when I enter data for first text box, input panel gets opened. Now unless and until I close the panel, I can not scroll further. I want the functaniolality that even when the panel is open I can scroll and can click the last button.
Note: I am creating all the controls at runtime. Controls are not created by drag and drop the control from tool box.
Put controls into ScrollViewer. When TextBoxex will be in scroll panel, you can scroll them up and down without closing a SIP.

Windows Explorer favorties as buttons?

I use the favorites in Windows Explorer quite often to gain quick access to deeply nested folders. But I find it quite annoying always have to click the Favorites button in the menu and then search the favorite I'm lookig for in the dropdown.
Is there anyway to add specific favorites as buttons to Windows Explorer?
I'm using XP x64.
Thanks for any help!
How about this? In Windows Explorer ...
View > Toolbars > UNcheck 'Lock the Toolbars', if already checked
View > Toolbars > CHECK 'Links', if not already
Now position the new toolbar where you would like it, by grabbing, dragging and dropping
Now you should be able to click on Favorites from the menu then click on the shortcut you would like to make a button, hold and drag that menu item link to the links toolbar.
You should now have a button that will do what you asked for. :)

Resources