window

WPF hot key firing without modifier

I have a WPF window, which contains a button called Cancel. Under ordinary circumstances I want a user to be able to press Alt+C to cancel their actions and close the program. As such, the button is captioned "_Cancel." Problem 1: During Window_Load, if I press C without modifiers, the Cancel_Clicked event fires, and the program close...

get current focused window id using objective c

hi developers, how can i get current focused window id using objective c, the return value should be an int, help is highly appreciated! I just need to get the following line working CGImageRef windowImage = CGWindowListCreateImage(CGRectNull, kCGWindowListOptionIncludingWindow, winNum, kCGWindowImageBoundsIgnoreFraming); but no matte...

VS2008 How I can get rid of the "Error List" window

Hello, I don't really like the Error list window, I prefer to use the Output window. The only way I can hide the Error list window is to make it floating and to put it as a small popup window in a window corner Thanks! -Claudio ...

Win7 'Next Desktop Background'

Does anybody has an idea how to invoke 'Next Desktop Background' command in Windows 7. This is when you have a slide show desktop wallpaper and this command in on the context menu of the desktop? Command line option will be great. ...

Open Links in Multiple Browser Windows / Tabs

Hi, I have a requirement to click on multiple links (selecting them) and then click a button that will open all selected links in new windows or tabs. This will of course be dependent upon the browser behaviour. My plan is to use Javascript to add the selected links to an array and then upon clicking the submit button, the javascript w...

Win32 CreateWindow() call hangs in child thread?

I'm working on a portability layer for OpenGL (abstracts the glX and wgl stuff for Linux and Windows)... Anyhow, it has a method for creating a Window... If you don't pass in a parent, you get a real window with a frame... If you pass in a parent, you get a borderless, frameless window... This works fine, as long as I do it all on 1 thr...

How to run function of parent window when child window closes?

I am calling the javascript window.open() function to load another url in a pop up. Once the users is finished it takes them to the last page that has a link that says close window that calls the window.close() function. Now when that page closes I need to update something in the original page that opened the window. Is there any way to ...

Running jQuery command from modal window to affect main page

Hi all, I'm currently trying to write a jQuery script which opens a modal box then (upon user entry) changes a value on the original page. Currently I've got the script working on just the page itself (without the modal), but when I try to run the command from the modal the value on the main page doesn't change? Does anyone know how I...

how to configure settings of visual studio console window once and for all

How can I change the default settings of the Visual Studio console window? ...

How to close a window without confirm dialog?

window.close(); The above will pop up a confirm dialog each time,and not working at all in firefox. ...

WPF datagrid multiple windows question

Hi, I have a scenario where i load an ICollectionView in a datagrid. In some cases I modify the data where the collectionview gets it's data from. If I then reload the grid with configGrid.ItemsSource = configData; for example, the data gets updated. Now the thing is, I sometimes open a new window using: var newWindow = new Edit(movi...

Selenium - Pop Up window

Hi , I am testing the Router UI using selenium. I am using cisco routers. I am pinging a website and the router opens a pop up window showing the Ping statistics. The selenium ide is recording the popup window as " Ping table " but when i am running it the ide shows an error. I want to verify and validate the data in the pop up window ...

How do I change the dynamically change the window size with Ubuntu on VirtualBox

Ive installed Ubuntu inside of a Sun VirtualBox. When I maximise the VirtualBox window the Ubuntu window stays the same size and does not dynamically grow with the size of the VirtualBox window. Ive seen this done before. How do I set it up? (And no Im not just looking for how to increase the screen resolution) Thanks ...

Video window resize in windows

This is related video capturing in WINDOWS. Video will be recording,meanwhile i will drag the window(dialog box)( i mean with mouse pointer i will enlarge/or compress the window),then the video image also should get enlarged/compressed to fit into the window. How to achive this task? Help Code is in vc++ Does this Win api stretchBlt()...

Resize image map on window resize

Hello, I'm trying to resize an image map on window resize event. The closest I've gotten is to use a mouseclick event, but it needs to be window resize for what I'm doing. I'm using Firefox 3.5.5 I'm using jquery somewhat. Here's my example - the area button I want to resize on window resize is in the top left (click on it to resize ma...

WPF window pre-loading

When switching between windows in my full screen WPF app, if it is the first time the screen has been shown, The monitor will go black momentarily before the windows is displayed. This only happens the first time the window is shown. Is there a way to pre-load each window so this does not happen? This is what I've tried: myWindow.Show(...

how can I control the opacity and z-order of the top level window in WPF?

I would like to make a small WPF app window semi-transparent and on top of other windows. When I change settings on the top level Window it only seems to effect the contents, not the titlebar or border. Is this possible with WPF?? Thanks ...

How to refresh page on resize?

Is there a script to make the browser refresh when a page is re-sized? More specifically, one that emulates the browser refresh button or F5? I've found two, but they don't quite do what I'm looking for; <script type="text/javascript"> var currheight = document.documentElement.clientHeight; window.onresize = function(){ if(currheigh...

Center Gtk.Dialog on Gtk.Window in Gtk# on Windows

Hi, I have a Gtk Dialog which should pop up over my applications main window. I tried the following: dialog.TypeHint = TypeHint.Dialog; dialog.Parent = applicationMainWindow; dialog.TransientFor = applicationMainWindow; dialog.SetPosition(WindowPosition.CenterOnParent); In any combination I could think of. Nevertheless, when callin...

Is there any way to make a window fixed?

Is there any way to make a window fixed so that the user can't change the window size in java? ...