Should the new MFC Feature pack contols appear in VS toolbox - visual-studio

I'm trying to use some of the new MFC feature pack controls on an existing MFC app, with VS2008 SP1. None of the new controls appear in the dialog-editor toolbox.
Should I expect them to be there, and if so, do people have any suggestion for how to get them to appear?

Unfortunately there no IDE support for new "NextMFC" controls. There also no plans to add it to VS2008 at this moment, we need to wait for VS2010!

Related

Visual Studio 2019: How to edit menu

In Visual Studio versions prior to VS2019, .NET framework 4.7.2, if you wanted to design a MenuStrip, you just added the MenuStrip to the form and start typing the ToolStripMenuItems. Like this:
I've recently moved to VS2019, and started to use .NET 5. If I add a Menustrip, I get an empty strip, which seems not easy to edit (I colored the background of the main form, to clearly see the white menu strip)
My question is: how to add ToolStripMenuItems?
I see the little arrow on the right, and I can select Edit Items, but to add a menu that way is quite cumbersome.
If I open an old solution in VS2019, I can edit the menu as I used to do. So it's not VS2019.
If I create a new VS2019 project using an old .NET version, I can't edit the menu, so it's not the .NET version
If I copy paste InitializeComponents from an old project to a new .NET 5.0 VS209 solution I cannot edit the menu
So, how to edit the menu? Is edit items really the proper method to edit your menus from now on?
I believe that the MenuStrip editor experience difference comes down to .NET Core vs .NET Framework.
Edit: .NET 5 = .NET Core vNext
We covered MenuStrips while we were doing WinForms in my C# class and this exact question came up. .NET Framework solutions allow you to use the convenient editor as you have demonstrated. .NET Core solutions do not.
The easiest way I found to build out my MenuStrip items when in .NET Core was to click on the menu strip, then there is a property called "Items" which is a collection. In the properties pane, you can click the three dots button to bring up the Items Collection Editor:
Here you can create new ToolStripMenuItem objects to build your menu.
Possibly related post, others suggesting this is a Core vs Framework issue: MenuStrip not allowing to create menu
This issue has been fixed
in Visual Studio latest release v16.10: 05/25/2021 (https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes). I have tested this both in net 5 (current) and net core 3.1 (LTS).
Demo:
https://youtu.be/3s55hWrHx4U
You might have used the option that says "Windows Forms App."
This is wrong. You should use "Windows Forms App(.NET Framework)." This will let you edit the menuStrip control the easy way.

Visual Studio WinForms Designer: Unable to Move Controls inside of TabPage

I am using a .net core 3.1 WinForms Application.
Moving controls works perfectly fine outside of a tab control, but the moment I place a control inside of a TabPage I am unable to move it again. I can no longer select it from the designer either, and the only way I can is to select it from the properties menu.
After I access it from there, the only thing I can do is resize it, as shown in the image below:
Things I tried:
Made sure the component was not locked.
Pressed escape (as per the solution here)
Rebuilt the solution.
Restarted Visual Studio.
Deleted Visual Studio's AppData folder.
Made sure my Dock property was set to none.
Ensured Visual Studio is on my primary monitor
I really want to use tab pages with my application, but I don't want to keep resizing it everytime I want to move something, so any help is greatly appreciated.
Update: I decided to switch my project from .Net Core to .Net Framework and it now works, so it must have something to do with .Net Core. I'll leave this open if anyone has a solution for .Net Core.

Filtering the Visual Studio toolbox

Does anyone know if it is possible at all to filter the Toolbox's items in Visual Studio using an add-in?
Visual Studio 2010 introduced the ability to search but I want to filter, for example: type in button and it must show all items containing "button", same as on this on this Delphi XE screenshot:
This is a very good answer for this question. I copied from the VS blog:
In VS 2010 Beta2, we’ve added the ability to search for controls in the toolbox by name. To use it, put focus in the toolbox (by clicking in it, for example) and start typing the name of the control you want to find. As you type, the selection will move to the next item that matches what you've typed so far.
http://blogs.msdn.com/b/visualstudio/archive/2009/10/26/toolbox-search.aspx
This is something not possible as microsoft does not reveal the secret of adding toolbox controls details completely. They make change the process for each platform and for each versions of visual studio. if we have a clear details of how they add, we can also do the similar kind of small application with search capability and add it as add-in.
Luckily Visual Studio 2012 now has that feature!

Can I use DevExpress related "DxCore" for dialogs/tool windows?

Can I use DevExpress related "DxCore" to extend VS functionality to add new dialogs/toolwindows etc.?
If so, how is it different from VS SDK (focusing on dialogs/tool windows)?
DXCore has great wizards for creating and adding tool windows into your plug-in projects. The DXCore tool windows are the same as Visual Studio ones, for example, Solution Explorer, Toolbox or Property Browser. Creating a tool window plug-in using DXCore is easy. Just arrange your components in the tool window designer, set a few properties, and compile the project.

Undocking a code window in Visual Studio

I've finally joined the 21st century and got a second monitor. I can merrily undock all the side windows (Solution Explorer, ToolBox etc) and plonk them anywhere I like on either monitor. I can't though figure out how to undock a code window. Is it possible? (I'm using vs2008).
Multi monitor is a key functionality of the new vs 2010 as was requested by a lot of devs.
Actually there is a way to do that.
You just need to install a FREE addon from Exact Magic named StudioTools
It has this feature called "Tear Off Editor Window".
You just activate the tab you want to tear off and from the StudioTools manu select Tear Off Editor.
I also strongly recommend you check out the rest of the features, especially the "Smart Goto" which rocks!
Just for you (VS2010) ;-p
You could resize Visual Studio to cover both monitors, then right-click the code window and click New Vertical Tab Group
The "Tear Off Editor Window" feature in Studio Tools from Exact Magic is I think the only option if can't just extend the application over your monitors, if you have multiple monitors of different sizes or a mix of portrait and landscape orientation.
However you cannot download Studio Tools from the original site as they were bought by another company who no longer support the software. You can download it from the the Wayback Machine: Studio Tools Download Link

Resources