Visual studio 2010 IDE layout - visual-studio-2010

My current visual studio panel layout looks similar to the drawing below:
-----------------
| | | |
| | | |
| | | |
| | |--|
| | | |
| |---------| |
| | | |
-----------------
I really don't need the full height of the screen for the toolbox or server explorer and was wondering if there was a way to change the layout so that the bottom section extended all the way to the left edge of the screen like in this drawing:
-----------------
| | | |
| | | |
| | | |
| | |--|
| | | |
|------------| |
| | |
-----------------
I am space constrained on the right side, so a symetric layout with the bottom section running full width wouldn't be acceptable. I've tried dragging stuff around but haven't had any luck in getting VS to position the panels as I want. Is my desired layout not possible or am I missing the right way to coax the layout into fitting?

Yes, you can do this. When you are dragging the toolbox, note the little "targets" in the center of the screen. Drop the toolbox onto the target that corresponds with the area where you want it docked.
See here for more detail and pics.

Drag the bottom panel off and make sure to mouse over the icon that appears all the way at the bottom center of the screen, although this will cause it to take up the whole bottom portion of the IDE,

That's an easy process.
Drag the window docked in the bottom to middle of the VS window so that it floats in the middle.
Now when you drag it, a helper would apper to doc it.
You'll have some dynamic docking helpers like below.
↑
↑
← ← → →
↓
↓
if you chose the downarrow in the dock helper in the middle, you'll get the layout like this.
| | | |
| | | |
| | | |
| | |--|
| | | |
| |---------| |
| | | |
-----------------
If you chose the downarrow all the way at the bottom, you'll get the layout like this.
| | | |
| | | |
| | | |
| | |--|
| | | |
|---------------|
| |
-----------------

Related

how to use pywinauto to get checkbox in treeview

some UI list like this have some button or check box in treeview
| | GroupBox - '' (L807, T366, R1257, B746)
| | ['GroupBox']
| |
| | TreeView - '' (L815, T382, R1249, B732)
| | ['TreeView']
| | child_window(auto_id="1176", control_type="Tree")
| | |
| | | CheckBox - 'Intrusion Prevention' (L839, T384, R957, B402)
| | | ['CheckBox', 'Intrusion PreventionCheckBox', 'Intrusion Prevention', 'CheckBox0', 'CheckBox1']
| | | child_window(title="Intrusion Prevention", control_type="CheckBox")
| | |
| | | CheckBox - 'USB Malware Protection' (L874, T402, R1010, B420)
| | | ['USB Malware ProtectionCheckBox', 'CheckBox2', 'USB Malware Protection']
| | | child_window(title="USB Malware Protection", control_type="CheckBox")
| | |
| | | TreeItem - 'Network Virus Protection' (L858, T420, R996, B438)
| | | ['Network Virus Protection', 'Network Virus ProtectionTreeItem', 'TreeItem', 'TreeItem0', 'TreeItem1']
| | | child_window(title="Network Virus Protection", control_type="TreeItem")
I can use TreeView to see Treeitems like this
dlg = app.top_window()
a = dlg.TreeView
b = a.print_items()
i can see b have tree item (ex:Network Virus Protection) but no checkbox (ex:Intrusion Prevention) so how can i get checkbox ele from treeview?
i know can use child_window("title") to get check box , but i need get this ele and check it text, so use title are not better
you can try this extension,
https://marketplace.visualstudio.com/items?itemName=ClickCorp.clicknium
it includes one automation library, and can recorde the checkbox and do check or uncheck operation:
ui(locator.notepad.checkbox).check()

ArrayFormula - If cell contains match, combine other cells with TEXTJOIN

I have a Google Sheet that contains names of characters, together with corresponding values for the group name, "selected" and attack power. It looks like this:
Sheet1
| NAME | GROUP NAME | SELECTED | ATTACK POWER |
|:---------|:-----------|----------:|-------------:|
| guile | Team Red | 1 | 333 |
|----------|------------|-----------|--------------|
| blanka | Team Red | 1 | 50 |
|----------|------------|-----------|--------------|
| sagat | Team Red | | 500 |
|----------|------------|-----------|--------------|
| ruy | Team Blue | 1 | 450 |
|----------|------------|-----------|--------------|
| vega | Team Blue | 2 | 150 |
Sheet2
In my second sheet, I have two columns. Group name, which contains names of each team from Sheet1 and names, which contains my current ArrayFormula:
=ARRAYFORMULA(TEXTJOIN(CHAR(10); 1;
REPT('Sheet1'!A:A; 1*('Sheet1'!B:B=A2))))
Using this formula I can combine all characters into one cell (with textjoin, repeated with row breaks) based on the value in Group name. The result looks like the following:
| GROUP NAME | NAME |
|:-----------|:--------------------------|
| Team Red | guile |
| | blanka |
| | sagat |
|------------|---------------------------|
| Team Blue | ruy |
| | vega |
|------------|---------------------------|
The problem is that I only want to combine the characters with having a selected value of 1. End-result should instead look like this:
| GROUP NAME | NAME |
|:-----------|:--------------------------|
| Team Red | guile |
| | blanka |
|------------|---------------------------|
| Team Blue | ruy |
|------------|---------------------------|
I tried the following setup using a IF-statement, but it just returns a string of FALSE:
=ARRAYFORMULA(TEXTJOIN(CHAR(10); 1;
REPT(IF('Sheet1'!C:C="1";'Sheet1'!A:A); 1*('Sheet1'!B:B=A2))))
Can this be one?
paste in F2 cell:
=UNIQUE(FILTER(B:B, C:C=1))
paste in G2 cell and drag down:
=TEXTJOIN(CHAR(10), 1, FILTER(A:A, B:B=F2, C:C=1))
or G2 cell be like:
=ARRAYFORMULA(TEXTJOIN(CHAR(10), 1,
REPT(FILTER(Sheet1!A:A, Sheet1!C:C=1), 1*(FILTER(Sheet1!B:B, Sheet1!C:C=1)=F2))))

Display record count in listbox using multiple tables and fields

i need help with a query, can't get it to work correctly. What i'm trying to achieve is to have a select box displaying the number of records associated with a particular theme, for some theme it works well for some it displays (0) when infact there are 2 records, I'm wondering if someone could help me on this, your help would be greatly appreciated, please see below my actual query + table structure :
SELECT theme.id_theme, theme.theme, calender.start_date,
calender.id_theme1,calender.id_theme2, calender.id_theme3, COUNT(*) AS total
FROM theme, calender
WHERE (YEAR(calender.start_date) = YEAR(CURDATE())
AND MONTH(calender.start_date) > MONTH(CURDATE()) )
AND (theme.id_theme=calender.id_theme1)
OR (theme.id_theme=calender.id_theme2)
OR (theme.id_theme=calender.id_theme3)
GROUP BY theme.id_theme
ORDER BY theme.theme ASC
THEME table
|---------------------|
| id_theme | theme |
|----------|----------|
| 1 | Yoga |
| 2 | Music |
| 3 | Taichi |
| 4 | Dance |
| 5 | Coaching |
|---------------------|
CALENDAR table
|---------------------------------------------------------------------------|
| id_calender | id_theme1 | id_theme2 | id_theme3 | start_date | end_date |
|-------------|-----------|-----------|-----------|------------|------------|
| 1 | 2 | 4 | | 2015-07-24 | 2015-08-02 |
| 2 | 4 | 1 | 5 | 2015-08-06 | 2015-08-22 |
| 3 | 1 | 3 | 2 | 2014-10-11 | 2015-10-28 |
|---------------------------------------------------------------------------|
LISTBOX
|----------------|
| |
| Yoga (1) |
| Music (1) |
| Taichi (0) |
| Dance (2) |
| Coaching (1) |
|----------------|
Thanking you in advance
I think that themes conditions should be into brackets
((theme.id_theme=calender.id_theme1)
OR (theme.id_theme=calender.id_theme2)
OR (theme.id_theme=calender.id_theme3))
Hope this help

Find the fonts with the best UTF-8 coverage in my Emacs

I'd like to be able to find the fonts which will have the best coverage in (Windows) Emacs for those UTF-8 chars:
| 0x0000B7 | MIDDLE DOT |
| 0x00229E | SQUARED PLUS |
| 0x00229F | SQUARED MINUS |
| 0x0022A0 | SQUARED TIMES |
| 0x0022A1 | SQUARED DOT OPERATOR |
| 0x002423 | OPEN BOX (wider in Consolas!) |
| 0x002502 | BOX DRAWINGS LIGHT VERTICAL |
| 0x00250C | BOX DRAWINGS LIGHT DOWN AND RIGHT |
| 0x002514 | BOX DRAWINGS LIGHT UP AND RIGHT |
| 0x0025A0 | BLACK SQUARE |
| 0x0025A1 | WHITE SQUARE |
| 0x0025AA | BLACK SMALL SQUARE |
| 0x0025AB | WHITE SMALL SQUARE |
| 0x0025B8 | BLACK RIGHT-POINTING SMALL TRIANGLE |
| 0x0025B9 | WHITE RIGHT POINTING SMALL TRIANGLE |
| 0x0025BA | BLACK RIGHT-POINTING POINTER |
| 0x0025BB | WHITE RIGHT POINTING POINTER |
| 0x0025BC | BLACK DOWN-POINTING TRIANGLE |
| 0x0025BE | BLACK DOWN POINTING SMALL TRIANGLE |
| 0x0025BF | WHITE DOWN-POINTING SMALL TRIANGLE |
| 0x0025CB | WHITE CIRCLE |
| 0x0025CC | DOTTED CIRCLE |
| 0x0025CF | BLACK CIRCLE |
| 0x0025E7 | SQUARE WITH LEFT HALF BLACK |
| 0x0025E8 | SQUARE WITH RIGHT HALF BLACK |
| 0x0025E9 | SQUARE WITH UPPER LEFT DIAGONAL HALF BLACK |
| 0x0025EA | SQUARE WITH LOWER RIGHT DIAGONAL HALF BLACK |
| 0x0025EB | WHITE SQUARE WITH VERTICAL BISECTING LINE |
| 0x002702 | BLACK SCISSORS |
| 0x002704 | WHITE SCISSORS |
| 0x002691 | BLACK FLAG |
| 0x002690 | WHITE FLAG |
| 0x002709 | ENVELOPE |
| 0x002717 | BALLOT X |
| 0x002713 | CHECK MARK |
| 0x002620 | SKULL AND CROSSBONES |
| 0x002197 | NORTH EAST ARROW |
| 0x002191 | UPWARDS ARROW |
| 0x002193 | DOWNWARDS ARROW |
| 0x0021BA | ANTICLOCKWISE OPEN CIRCLE ARROW |
| 0x0021AA | RIGHTWARDS ARROW WITH HOOK |
| 0x00260D | OPPOSITION |
| 0x002729 | STRESS OUTLINED WHITE STAR |
| 0x002605 | BLACK STAR |
| 0x002699 | GEAR |
| 0x00267B | BLACK UNIVERSAL RECYCLING SYMBOL |
(These are signs which could typically be used for Org-mode or Gnus marks, among others).
How can I do that without testing fonts one by one?
Is there a way, as well, to ensure that those fonts are non-proportional?
Step one: don't tie this question to emacs; as a question about "which fonts do I have with maximum coverage", your want a utility that tells you about coverage.
With that covered: be less specific in the coverage you need. Instead of saying "I need these glyphs", look at what that means in terms of "these are the Unicode Blocks I need". Then you can use something like babelmap to see which fonts you have installed with support for specific Unicode blocks by opening it, navigating to the block(s) you need, and hitting F7 to see the list of fonts you have installed that support it.

Gui window Positioning in Autohotkey

In Autohotkey,
I want to position my Gui window to right bottom of the screen but how?
For illustrate,
+--------------------------------------+
| Desktop (screen) |
| |
| |
| +----------+ |
| | Gui | |
| | window | |
| | | |
| | | |
| +----------+ |
+--------------------------------------+
You'll need to use the pre-defined width and height of the GUI with the internal variables A_ScreenWidth and A_ScreenHeight and force Param2 of Gui, Show as an expression to make it work. For example if the width of the GUI is 900 and the height is 550:
Gui, Show, % "x" A_ScreenWidth - 900 " y" A_ScreenHeight - 550 " w" 900 " h" 550, The GUI
You can easily do this using a tool build itself using the autohotkey.
This tool has a drag and drop support for positioning your controls according to your own liking.
Give it a try. You won't regret it. :)
No installation required, just run the file.
SmartGui

Resources