Visio Dock Stencil Window on Right - vba

I'm trying to programmatically dock a stencil window on the right side of the screen. I know I can set the WindowState property of the window to visWSDockedRight but if I already have stencils docked on the right, the stencil I'm trying to dock gets its own sub window, rather than just appearing on the stack of other stencils.
While this is almost what I need to do, it's not quite there. It would be much better if there was some way to add the window into the already-docked windows.
I have a bank of docked stencils on the left side of the screen and another on the right. I can use Documents.OpenEx to open the stencil docked, but I can't specify which dock to use.

How are you opening the stencil? If you open it like this, it should just dock itself in the stack of open stencils:
Documents.OpenEx "stencil.vss", visOpenDocked

Related

UWP menu without hamburger

This is my first UWP app
I have a SplitView. On the right side I want a menu. On the left side I want to be able to load different pages into it(frame)
The only menu I can find have that hamburger in it(AppBarButton).
This app will only run on windows desktop machines so I do not have need of the hamburger and it will be rather useless.
I have spent the last two nights looking for options but all I get are hamburgers.
Can someone please point me to an example of a no hamburger menu or a tutorial of some kind?
I am sure I can figure it out once I know what elements to use, I just need a push in the correct direction.
What you need is a base page (let's call it "HostView") this will simply have a SplitView control with the DisplayMode set to Inline and the IsPaneOpen set to true. You can also set the side panel width by using the OpenPaneLength property.
Your menu buttons go into the SplitView.Pane and you place a Frame control in the SplitView.Content. This frame will navigate to the correct page when a menu item is selected.
If you set the properties as I said above then you will not need a Hamburger menu to open the side panel at all. However, please consider the fact that users will want to resize your app, and they might resize to a very narrow size which means it might not have enough space to display all the content. IN which case you will need to collapse the side panel and show a hamburger menu to open it when needed. You don't have to do this, but it is something to consider.

How to implement the Windows 10 OneNote Menu in Universal Windows Platform app

I would like to implement the OneNote app menu in my own UWP app. In the closed state, the menu only shows the 'hamburger' button, but when clicked a menu pane slides in from the left.
I have tried to use the SplitView, but it doesn't allow me to set the width to 0 when collapsed, always showing a narrow line on the left side. I also considered using the 8.1 Flyout control, but that doesn't see to animate the correct way.
So, what's the correct way to implement the OneNote menu behavior?
You need the SplitView, but don't mess with the width of its pane.
Instead, set the DisplayMode to Inline (or Overlay) and toggle the IsPaneOpen property.

Detach XCode's Navigator into its own window?

Right now, my average xcode window is just an editor window with the navigator on the left.
Is there any way I can detach the navigator into a separate window?
I've tried:
Making a new complete window, and hiding the editor. This doesn't work, when I try to drag the navigator to cover the entire window, it won't go all the way. It's strange that this works to create a debugger-only window, and not a navigator-only window.
Making a behavior in the preferences, to show the navigator and hide the editor. When I run this behavior, it shows the navigator and hides the editor, but puts the debugger in its place. When I add "hide the debugger" to the behavior, I get the same result: navigator plus debugger.
Eternal gratitude to whoever can end my suffering!
(xcode 4.6, mac 10.8)
No, there is no way to do this. The Xcode application's UI was not written to be able to do what you're asking for.

How to position a form over taskbar, not above it?

I am trying to create an application that will start up over the Windows' taskbar on the bottom left corner. I want the form to overlap the taskbar. All my methods ends on making the form load above the taskbar.
You can set the form's property TopMost to true to achieve that

Using Popup control in Window 8

Is there any property of pop up , wherein we can dim the window app.
As in metro app there is no Child Window control available , so using
popup in place of it but the problem in popup is when it is open the
user can still interact with other control on window app.
So is there an workaround to make the window app dim when pop is open.
I'm not sure to understand what your trying to do. You can put a Border as first child of the popup which exposes the Background property. So if you specify a not null Background (Transparent for instance) the popup will catch every interactions.
It sounds like you want the MessageDialog class. The popup is meant to be non-modal, letting the user close it by just clicking away from it. The MessageDialog is a regular modal popup that does not let the user interact with the rest of the app when it is displayed.
If you really insist on using the popup control, here is a simple workaround:
Make the popup use all the screen (using a grid or border), then set that background to Black with opacity 0.1 (or any other color you see fit, this is to give a "dim" effect), then inside this popup, place another container with the size and margins that you want to act as your "real" popup.
Because the popup takes the whole screen it will prevent the user from clicking anywhere in the screen.