What is this "pull down" icon in Visual Studio 2012 text editor used for? - visual-studio-2012

The icon below shows at the top of the vertical scrollbar in Visual Studio 2012's text editor. When I drag it down, another page shows behind the current visible page. It looks like a copy of it. (I am using dark theme)
What is it used for? I don't know what the feature is called, therefore I couldn't search for it. I am not sure if it's native to VS 2012 or it's from one of the VS add-ons I am using.
Sometimes the icon disappears. Why?

It's for split viewing of a file. So you can view part of the file and edit another part.
It's a common feature in advanced text editors.

Related

Why is CTabCtrl background white, not the colour of the dialog

Within Visual Studio 2017 I created an MFC dialog-based application from scratch. In the dialog editor I dropped a Tab Control on then used Add Variable... to create a data member of type CTabCtrl and added a couple of lines in OnInitDialog() to create some empty tabs. The result is here:
When I add content (dialogs) to the tabs, and the dialogs are smaller than the tab control, the white background looks especially ugly.
If I do the same in Visual Studio 2008 the background is grey, like the dialog.
My questions are:
Why did this change from VS2008 to VS2017?
What can I do simply to make the background the same as the dialog? My current fix is to derive from CTabCtrl, and handle WM_ERASEBKGND and WM_PAINT (as mentioned here) which is much more code than I want to support.

VS Express 2012 Code View Scrollbar shrunk

Normally the vertical scrollbar in the text editor (code view) of Visual Studio Express 2012 runs the full length of the window you're viewing the text in.
After installing on a new machine, my new scrollbar is two sad little arrows, one up, one down, and cannot be navigated by moving the indicator inbetween them as there isn't one. If I split the view, I get two sets of scrolling nubs.
I've tried disabling and re-enabling the vertical scrollbar in Tools > Options > Text Editor > General. When disabled the miniature scrollbar goes away and comes back miniature if I re-enable.
Trying to figure out what setting or group of settings regulate this and how to get back my proper scrollbar.
Following worked for me
Go to %System Drive%\Users(user-account)\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache
Rename the cache file (Microsoft.VisualStudio.Default.Cache) present there to 'Microsoft.VisualStudio.Default.Cache_1'.
Restart the visual studio.

Android Studio - view both Text and Design preview of layout

In Android Studio, how can I view both the text and design preview of an XML layout side by side.
I could see it by default when I installed Studio, but now that is gone,
and I'm not sure why. I can only see or the other.
How do I re-enable it?
Open your [whatever].xml. At the bottom you'll see Design and Text. Select Text. If you still can't see the actual layout, only xml, then select "Preview" which is located at the right of the window, between Gradle and Maven Projects.
Click on preview while text is selected.
At first, select your desired .xml layout from the Project tab then use Code, Split and Design buttons to switch between the views. (Android Studio 3.6)
Code - Display only XML part
Split- Display XML and design both
Design- Only design part
It appears that in Android 3.6.1, the buttons to select Design, Split, or Code have been placed in the upper right of the XML layout screen.
Select any one from the top right options to change the view of your Code and Design
You can split the tab by right-clicking on the tab and selecting either Split Horizontally or Split Vertically. Then, you can select the Design tab on one and the Text tab on the other.

Customize Visual Studio 2012

I use Visual Studio 2012 and I want to customize the start interface when I open it in order to see in the right side the toolbox and properties tabs and in the left side the tab with the list of folder and in the main screen in the center the code I type.
How can I make it?
Easily, just drag selected windows (e.g.: solution explorer window) and drag it into icon indicated left side of IDE
and so on...

Create DUPLICATE code window in visual studio 2012

I want one code window to have two duplicates. I want to place one code window on one monitor, and second code window on the second, extended monitor.
As I Go on typing, I want second window to display the code that I type on the first monitor. Is it possible in visual studio 2012?
It would be very helpful for me while teaching the trainees.
I haven't got a copy installed here to test but I believe the answer you're looking for lies hidden under the Window menu..
Activate the window you wish to duplicate and under Window on the toolbar choose New Window. This will create a duplicate of the active document. Under the Window menu again you should find the option to make the window Floating
Update for Visual Studio 2013: Vertical split of cshtml window in VS2013
In VS2012, the feature closest to what you are after is called "Split" and its under the Window menu when you have a code file selected. This creates a split view of the selected code file within the original window.
I don't know of any way to seperate the copies from each other and float them on different screens.

Resources