In Microsoft Visual Studio 2005 is it possible to set the size of an edit window when opened? - visual-c++

I have a very large monitor. When I open a text file in MSVC, the file defaults to a width of about 80% of my screen space. For most bits of code that's about twice the size I need. Is there a way to set the default size of a newly opened file?

In the regular paned UI you can choose to split the code window horizontally or vertically, try that. You then get two code windows with each their own tab bar.

Related

How can I set the default orientation of labview windows?

Whenever I open a new labview project, it opens two small windows, one for the block diagram and the front panel. Since using labview effectively requires simultaneous use of both, is it possible to set things up such that, upon starting a new VI, it opens these two windows in pre-determined positions and sizes?
I do not know setting to do so (and think there is no such setting), but your problem is easily solvable if you press ctrl+t when new vi is opened.
ctrl+t will set front panel on the left half part of the screen and block diagram on the right part. Pressing ctrl+t a second time will set the panel to top half and diagram to the bottom half.
Shortcuts In LabVIEW
Another workaround:
Create a new empty VI
Resize and reposition the front panel window as you wish
Do the same for the block diagram window
Save the VI as a template (.vit)
Double click the template to use it (position and size of windows will be as they were when saving)
Alternatively if you want to be doing manually everytime. You can press WIN+LEFT on one of the windows and WIN+RIGHT on the other. This will evenly distribute the two windows over the screen.
You can set window position for individual VIs by pressing Ctrl+I to open the VI properties, and setting the desired appearance under "Window Size"

How to make tool font size bigger in Construct2 IDE

I'm using c2 with windows 10. Surface3 with a side monitor that has a resolution of 2160x1440. The text on the IDE for C2 is tiny. Any way to increase the font size used in the IDE similar to what you can do with Visual Studio or Android Studio?
Healy in Tampa
To change the font size you have a couple of options. First off, you can go into File->Preferences and then under General, they have a section for Event Sheet View. There you can change the font size in the event sheet. Additionally, you can simply do a Control+Scroll (up or down) to zoom in there as well.

Hot to prevent recalculating window sizes in vim?

I show what happens step-by-step to explain the case:
This is my layout:
After I run :vs new to create new file in the separate window:
Now you can see that the leftmost window with directory tree is unexpectedly expanded by several columns. And and I close the new buffer by ^Wc or :close the rightmost window expanding again!
What's going on? Is there any ways to "fix"/"stick" window sizes. Windows like water - they are constantly resizing(
Option equalalways when set, makes Vim equalize the windows sizes when a window is closed or opened. You can switch it off by using
set noea
or you can change its behaviour by adding the eadirection option to control in which direction windows should be equalized.

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.

Help with application icons

I'm building a program in C++ (target is windows XP) using Visual Studio 2008 and I'm trying to add application icons, the ones that show up in the taskbar, explorer, desktop, etc. My .ico file has the sizes 48x48, 32x32, 24x24, and 16x16 pix in color depths 32-bit, 24-bit, 256 colors, and 16 colors. For what it's worth, I'm adding the .ico file to the binary in IcoFX.
I can get all the icons to show up like they should except for the one in the upper left corner of the program itself--the one that you can click on to bring up a menu with window size options--it still shows the default icon.
To get this little icon to change do I need a different image size or is there a completely different way of managing this one icon? Does that icon even have a specific name?
Thanks for your help.
Duplicated: How do I set the icon for my application in visual studio 2008?
According to one answer on that thread, you need to make sure that your icon is the first icon in the resources file.
Ok, I've figured it out:
I'm using wxWidgets as my GUI toolkit, so this is the only satisfactory answer I can give. wxWidgets has classes to set the main frame icons, those classes include wxIcon and wxIconBundle. Then wxTopLevelWindow::SetIcons can be used to set the application's icons. This sets ALL the icons (taskbar, main frame, alt-tab chooser, etc), no need to mess with a resource file in Visual Studio.

Resources