window

Enumerate browser tabs from external application

Hi everyone. A bit of an odd (challenging?) question. Is it possible to programmatically access the tabs of an open browser from a external application? I realize that's a vague question, but hear me out: What I'm trying to create is a "Gmail Chat Notifier" application that flashes a notification icon in the Windows system tray when an ...

Benefit of using 'window' prefix in javascript

Are there any benefits to using the 'window' prefix when calling javascript variables or methods in the window object? For example, would calling 'window.alert' have an advantage over simply calling 'alert'? I can imagine using the prefix could give a small performance boost when the call is made from inside some function/object, however...

In C#.Net Given a window handle how to force a window to full screen?

I've obtained the handle to a processes Main Window and would like to force that window to full screen. I'm programming in c#.Net with .Net framework V2.0 SP1 ...

Remove Subviews from Window.

in my iPhone application two different view is there. it is set two different viewControll class. i mean i displaying 1 view by this code. BacodeViewController *proview=[[BacodeViewController alloc]initWithNibName:@"PorpertyP" bundle:nil]; [self setProPView:proview]; [proview release]; [proview.view removeFromSuperview]; ...

How do I open a new console window for a Visual C++ console application?

What I want to do is something like this: ConsoleWindow1.Print("1"); ConsoleWindow2.Print("2"); When I run the program, two console windows pop up and one gets printed with 1 and the other gets printed with 2. Is there a simple way of doing this? ...

Changing window position with javascript to a specific element?

Say I've got a big list of elements which are displayed vertically. How can you change the window position so that a specified element in the list is shown at the top of the page with javascript? Does this method work for major browsers (ie 6+, firefox, safari, chrome)? Thanks ...

How to update Ruby version in Window?

Hello, everyone. I am trying to install an Amazon Web service gem into my project (I use window and Aptana RadRails) but it asked me to update current Ruby version (1.8.5) to 1.8.7. I use InstantRails for Window platform. So could you tell me how can I upgrade my Ruby to new version? Do I need to install new InstantRails? or Can I upd...

Listing and finding windows on OS X

I am trying to do some stuff on OS X using the carbon api, but I can't find anything I am looking for on google or the Apple development website. Ideally I would like to find a function that finds the window at a certain location on screen. It seems that there are similar functions, but one of them says that it only finds windows in th...

How to tell if Windows desktop is fully functional (loaded) c#

Hi, I am writing an application that runs on Windows logon but I want it to wait until the desktop is fully functional/loaded before it actually starts doing anything. Is there any way of working out when Windows has completely finished loading the desktop? ...

how to call a window's Loaded event in WPF MVVM?

It is easy enough to create a command from my OnLoaded() event handler code, but how do I call it from the View? <window Loaded="onLoaded"> doesn't cut the cake anymore since it calls code in the xaml.cs. How would I create an ICommand equivalent? ...

How to pass data from Ajax popup to parent page?

I currently have an Ajax pop up window displayed from the main page of my application. In this pop up I have select list and I want to pass the selected value from the pop up back to the main page when the user closes the pop up window. I feel there is an elementary way to do this, but I can't seem to figure it out. ...

JavaScript "window.onload" – is "window" really necessary?

I see people use "window.onload" all the time, but why? Isn't the "window" part completely superfluous? ...

How to start a new process in a new window in an existing GNU screen session, from outside the session

I asked a similar question here and got pretty close to what I'm looking for http://stackoverflow.com/questions/1220797/how-to-start-a-process-from-another-application-and-then-open-a-terminal-to-that ...but, this doesn't quite get to what I'm after, which is starting a process in a new window (not an existing window) in an existing sc...

flex core process window

if someone presses ctrl +alt +delete or any kind of shutdown hook from any os and delete the flex process from task manager then how can i track from that flex process application that killing that flex process was activated so i like to do some processing before killing this process. ...

Problem with modal in multi-thread app

I have application which works with 2 threads in first I have main windowa and almost whole logic, in other I run a preloader which is shown when user have to wait a a little more time for an results. When i introduced the second thread into my app I have seemed a different occurrence. When i open some modal window in main thread and i ...

How to change window style by sending a message in c#?

Hi, I am trying to change window style of a window in c#. I have handle of the window. How do I send message to the window to change its window style? My purpose is to make the window borderless. ...

Windows XP Pro Service runs using User logon, not using Local System

I wrote a Windows Service using VS 2005 and C# on WinXP Pro SP3. It starts another program which runs to completion and then exits. The service is installed using installutil and serviceInstaller. It is built release and put into the C:\Program Files\MyService directory. The serviceProcessInstaller Account is set to LocalSystem in it's...

Obtain a window coordinates from processID or hWnd

Hi, does anyone know if you can get the coordinates of a window using the .NET framework or via pinvoking? I would have the processID or mainwindowhandle. ...

Disable browser toolbars, menu bars etc when the page loads

Hi All, I am trying to figure out a way to disable toolbars, scrollbars etc when the page loads, using JavaScript or ASP.NET. i know i can use this window.open('default.aspx', 'google', 'height=800px,width=480px,location=no,toolbar=0,directories=no,status=no,menubar=no,resizable=no,scrollbars=no'); but I dont want to open a new win...

Using a XAML Image as a WPF Window background

Any suggestions how to go about having a XAML vector image as a Window background? There's plenty of code showing this with jpg's but I'd prefer a vector based image. Having it as a resource would be a bonus too but I'm stumped as to the best approach. <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation...