windows 8 visual studio user controls - microsoft-metro

I'm getting started with windows 8 visual studio.
I would like to embed user controls inside user controls, like I used to do in vb.net. The designer allows me to do this, I can visually create user control uc1, and put some controls on it. Then, I make a new user control, uc2. While I am editing uc2, uc1 is available in the toolbox, and I have built the project so it should be up to date.
But if I put uc1 into uc2, the frame is visible, but the contents are not, either at design time or runtime.
Am I missing something or is this something you can't do in windows 8?
Thanks

Sorry, not sure what I was doing wrong but I tried it all again and it seems to be working now.

Related

Can't move controls on form after upgrading from VS2010 to VS2013

using Microsoft Visual Studio Professional 2013 Version 12.0.30324.0 REL Microsoft .NET Framework Version 4.5.50938
I just upgraded a project from VS2010 to VS2013. On certain forms I can no longer use the mouse to move or resize controls. In some cases when attempting this VS2013 locks up
It's not just the controls either. I can't use the mouse to resize a "sizable" form. I also can't drop new controls on the form. I can however use shift arrow keys to resize the form and key in the size I want under properties. No I'm not debugging. Yes I have my snap to grid settings the way I want them. No I don't have controls "locked". This is clearly a phenomenon with VS2013. Occasionally, by futsing around with it the form seems to fix itself and the mouse actions function as normal. But as soon as I exit VS2013 and restart it, the ability to use the mouse on a form in design mode is hosed again. The issue seems worse on forms with many controls but can occur on any form.
As an experiment I created a new plain Jane form in VS2013 and dropped a couple buttons on it. I was able to resize the form with the mouse and do whatever I needed. However, when I exited VS and restarted it, The form exhibited the same behavior as my converted forms, in that I could no longer resize it or move my controls around.
I believe the issue is with the IDE and I'm forced to roll back to VS2010 so I can actually continue development.
I do also have VS2010 installed on the same PC which is suppose to be fine and dandy so I'm wondering it there is in fact some sort of conflict occurring.
If someone has some new insight on this I would love for you to share.
Thanks and happy coding,
Chris

ReSharper 8 Plugin Development Solution Explorer Panel Indicator

I want to write a ReSharper 8 plugin that will give a visual indication (icon maybe?) to the user in solution explorer panel if the number of projects in a solution exceeds a configurable amount.
Can a ReSharper plugin accomplish this or must I find another way? Must I create a SolutionComponent?
There's actually a set of things that you need to make this happen:
You need to add a visual element to be placed somewhere. I believe you can define an icon in Actions.xml, but as I understand, the solution explorer tool bar contains only buttons, though I could be wrong. An alternative approach would be to actually decorate the solution icon the way that source control plugins do. There are also other approaches, e.g. StatusBarIndicator.
A solution component is essentially some component that exists only while there's a solution loaded. What you need is different - a mechanism of monitoring solution changes and project model changes.

How to develop interface like Eclipse using GTK?

I want a write a desktop application using GTKMM. I want the interface to be made of different panels like in Eclipse you have the Project Explorer, Console, Properties, etc. You should be able to drag the panels to change their position, close them and popout them (not sure if you can popout the panels in Eclipse but you can do it in Visual Studio).
I am using the word panels here as I am not sure what the right term is. I guess some call it dockable windows.
Any pointers on how this can be achieved in GTKMM?
The term is "docking" widgets and the GDL Library is the easiest way to get started with that. You may have seen GDL in action in applications like Anjuta and Inkscape. The documentation isn't that great, but, the source code includes a sample app and once you get going with it it's not that hard.
Basically, you add your widgets to a DockItem and those to a Dock. You put a DockBar somewhere in your application to which the docked items can be minimized. You can save and load the dock "layout" to XML files so that the user doesn't have to re-arrange the dock items every time they start the application.

Empty Dialogs in Flex Builder

I have been experiencing a strange issue in Flex Builder 3 where certain dialogs such as the Add New Project wizard and the SVN Commit dialog are completely empty save for the title area.
I'm running Flex Builder v3.0 (build 3.02.2.214193) on the Windows 7 RC. I have tried completely uninstalling and reinstalling Flex Builder to no avail. I don't think it's Windows 7 causing the issues because it was working a couple of months ago with no problems. Even more strange is that I have not installed any additional plugins or made any configuration changes to Flex Builder between the time before these problems began and now.
Has anyone else encountered this problem, and if so, know of any solutions?
Here are a couple of screenshots to illustrate the behaviour.
alt text http://www.colincochrane.com/image.axd?picture=2009%2f9%2fdialog2.PNG
alt text http://www.colincochrane.com/image.axd?picture=2009%2f9%2femptydialog.png
You are probably running Logitech SetPoint. Try killing all setpoint processes. (you don't even have to restart flex). It worked for me :-S
According to this Adobe forums post, there are multiple causes:
SetPoint (as indicated by Scheea)
Wacom Tablet drivers
In addition, comments suggest the following:
UltraMon
These seem to suggest that the cause is any program which monitors keystrokes or mouse movement.
Workaround: In the new wizard dialog above, note the question mark on the bottom left (the help button). When you click on the help button a help panel is added to the dialog on the right separated from the main dialog by a splitter. When you drag the splitter the rest of the dialog appears. You may need to scroll to a position where you can see all of its contents, but it should become usable. Resizing the dialog alone was not sufficient for me.
In addition, I couldn't fully use the mouse to select elements so I had to type into the filter field in order for the correct projects to show up.
I had the issue with Window7 x64 Ultimate with FB3 Pro and shutting down Set Point seems to have fixed the issue.
For me it was Set Point and Display Fusion (allows you to set up multiple background images as wallpaper on multiple monitors). Took a lot of hair pulling to figure this out.

Visual Studio 2005 - Missing feature 'Code outline' (eclipse) or 'Defs' (SlickEdit)

I mostly use SlickEdit and eclipse while working on embedded systems. Once in a while I need to use Visual Studio, and I terribly miss this feature that is known by different names in different editors. Basically you get a small window of 'outline style' code summary on the side (showing just the function names and optionally the static and globals at the top). You click an item on this little window and your cursor in the main editor window magically jumps to that item location. Here is how it looks like in SlickEdit:
http://sites.google.com/site/fractalspace/tmp1
Anyone knows what I am talking about ?
Any 'pointers' will be much appreciated :)
Thanks.
Take a look at the DPack addin
and more specifically at the Code Browser feature