window

emacs how to tell window orientation?

hi. How do I tell in emacs window orientation, e.g. if it was created by vertical or horizontal split? alternatively, how can I tell if window can be resized vertically or horizontally? on a related note, is there a tutorial for programming emacs windows, e.g. size, buffers associated, properties, etc.? Thank you very much. was able ...

Is there a way to force a console application to run at a certain window size (using Pdcurses)?

I'm trying my hand at throwing together a minor roguelike in C++, but I've run into a problem - in order to get the game to display correctly, the console window has to be a bit wide (around 45 rows, 115 cols). It's easy enough to change by right clicking on the menu bar and setting the defaults for windows with the same name, but is th...

Javascript question--what is "window"?

<html> <script language="javascript"> /* This function is invoked by the activity */ function wave() { alert("1"); document.getElementById("droid").src="android_waving.png"; alert("2"); } </script> <body> <!-- Calls into the javascript interface for the activ...

How to remove subview loaded from another window/view? iPhone SDK

EDIT: I had set the overlay view to 460px high, not 480. New question: How do you remove a subview loaded to another window/view? ...

Jquery Modal Window preceeds download request

Hopefully this will be basic but if I create a Jquery click connected to a link that is supposed to download a document. However, before the download is initiated, I want the user to complete a quick profile form. Suppose a I use a <a href="ProfileFormToBeCompleted.html" class="modal"> in the html page and the following Jquery function...

noob homework question window dimensions in java

I am a high school student taking cs106a at Stanford via video. For my current assignment I have to add GObjects and position them relative to the size of the window. I am currently trying to get the width of the window using the command int width = getWidth(); however width = 0 One thing that could be causing this: this is o...

Way to take screenshot of a pane in visual studio

Hi, In our project, before we do a check in to VSS, we need to take screen-shot of the check-in file list and store in a folder with date and time. Is there anyway to take screen-shot of the whole page inside visual studio? Thanks, Mahesh ...

Child docked window

Greetings, I would like to have child window docked next to my parent window. If I move parent window, child window should be also moved. This image should explain what i would like to achieve. Can someone help me please. I'm writing in WPF. Does anybody has an idea how to do this? ...

WPF: Should I manually call Close on windows opened by ShowDialog method?

The thing is that WPF Window doesn't implement IDisposable interface which led me to believe, that I don't have to manually dispose of it when I open it by calling ShowDialog() but the first comment on this MSDN page states differently. Does anybody know what's the truth? ...

Persistent Data with Javascript

Hi, I have an application that has a "parent" window. In the parent window there are menu items, like the following (using PHP here): // sample link echo "<li><a href=\"#\" onclick=openurl('covershift.php');>Shift Coverage</a></\ li>"; // logout link echo "<li><a href=\"#\" onclick=openurl('logout');>Logout</a></li>"; Each link open...

How to get a static reference to a WPF Window?

I've tried a huge amount of ways to get a static reference of my window across my program. I need to access all of its members at runtime from different classes, so a static reference is needed. What I'd like to have is something like Program.Window1, where Core is static and MyWindow is one of its static members. In WinForms, I usuall...

Can somebody explain this Javascript method?

Original source: http://twitter.com/tobeytailor/status/8998006366 (x=[].reverse)() === window // true I've noticed that this behavior affects all the native types. What exactly is happening here? ...

JScript: How to give focus to popup window

I'm making new window this way: var WSHShell = WScript.CreateObject("WScript.Shell"); WSHShell.Popup("This is popup."); But window appears under another ones. How can I move it to the front? ...

How can i get the exe path of the foreground window

Hello! I would like to get the executable file´s path of the active foreground window. I already have the handler of the foreground window: [DllImport("user32.dll")] static extern IntPtr GetForegroundWindow(); IntPtr handlerAppActual = GetForegroundWindow(); And i would like to get the path of it´s executable file, like a shortc...

Remove another program's frame/window/border (the Aero bit) using VB.NET

Is there a way to remove the border/frame (the Aero bit) of another application's window (say notepad) from a VB.NET program? ...

Find a window using c++ and modifying controls

I would like to use c++ without mfc(and not clr) in order to modify textbox's and activate a button on a form outside of my project. I don't know where to start. I've done a lot of searching but can only find information for VB. A starting point would help. Thanks. I tried this and it doesn't seem to work. HWND fWindow = FindWindow(NU...

How to make reusable template for non-rectangular window with code-behind?

I've created non-rectangular window with my own style. It is Grid which contain custom close/min/max buttons, title area, 8 rectangles for resizing and of course Grid for window content (LayoutRoot). All of it working with c# event handlers at code-behind file. Now i need to make this construction reusable and available from toolbox at ...

Absolute path from window handle

Hi All, I open a file in windows word and get a handle to the window. Can I get the absolute path of the file (the actual .doc file, not the winword.exe)? Thanks a lot ...

Highlight the details of a window under cursor

Hi, I need a tool that displays detailed information about the Win32 window which is currently under the mouse cursor. The info I need at minimum: Class name Caption name Window style Window extended style Window procedure address I know that Spy++ does a similar job. But Spy++ wouldn't help because I need to spy for menus. And esse...

WPF: Examples of using a Style on a Window.

I have created a borderless window style wherein I draw the chrome (Borders, TitleBar, Min, Max, Close, SystemMenu, etc) and I would like to check it against an existing example. Specifically for the SystemMenu but also in case I missed something. Does anyone have or know of similar examples? ...