window

when browser closed update table and destroy session using ajax

I need to update a table when user closed the browswer window and also want to destroy session . its urgent guys ...

JavaScript Image Popup Window

I would like to setup my gallery web page so that when a user clicks on the thumbnail image, a window pops up displaying a larger view of the image. I do not mean a pop up window as in a browser window but a window that is loaded within that same page and can be closed. I am not exactly sure how I would go about doing this. Any ideas?...

Is it possible to dock the "Find/Replace" window in Eclipse?

I could have sworn I saw it once before in a screencast where someone had the find/replace window docked in their Eclipse environment. However looking through the list of options in "Window > Show" the closest thing I can find is the Search window. I find that I use it quite a bit and with larger monitors these days I figure I could af...

How can they do that? (OfficeTab and WindowsTab)

The following two programs can put windows of other programs to their own tabs, what do you think the technical details are? OfficeTab http://lifehacker.com/5345338/officetab-adds-tabs-to-microsoft-office WindowsTab http://www.windowtabs.com/ ...

WPF C# UI : New Window or Tab ?

Our WPF application in the current design opens new windows for list screen.We don't have restrictions on the number of windows you open etc.We are using a ribbon control and well it has tab support.Which is better a new window or a tab? (With windows 7 having a better group of window management etc) Should I go in for tab or leave it as...

Add Icon for ToolWindow in WPF

How can I add an Icon for ToolWindow in WPF? Just as <Window x:Class="WPFApp.Account" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Accounting Information" FontFamily="Calibri" FontSize="13" WindowStyle="ToolWindow" ResizeMode="NoResiz...

wxpython -- threads and window events

I have a wxPython application (http://www.OpenSTV.org) that counts ballots using methods that have multiple rounds. I'd like to do two things: (1) For a large number of ballots, this can be a bit slow, so I'd like to show the user a progress dialog so he doesn't think the application is frozen. (2) I'd like to allow the user to break ...

Problem with WCF service and Windows Mobile

Hello! I have a very simple wcf service. And a simple windows mobile client. I have two Windows 2008 servers. One is my development pc. The other is placed in our dmz. If I deploy my application to my development pcs, IIS, and open a port all the way in(Just for test). It works. But if I copy the service on to the dmz server, it d...

Strange Window Painting

If you resize Google Chrome 3.0.195.21 to a very small width on Windows 7 (I haven't tried other versions), the window buttons hang off the window, like this: The window size is not extended, and the overhang does not respond to the mouse. The window's thumbnail preview shows only the part of the buttons that is inside the window; th...

window.focus() doesn’t work in IE fullscreen

Hello everybody, When my website is in fullscreen mode (with IE8), the window.focus() javascript command doesn' work. Do you have a fix for my problem? I tried to put a window.blur() before, without success. Thank you! Nicolas ...

OrderFront - NSPanel

Hey Everyone, I have this code: [hudWindow orderFront:nil]; And when I debug it and run the command does not seem to work. hudWindow is a NSPanel. Please help me solve this problem. Thanks Kevin ...

Write Outputstream in new window [ASP.NET]

How can I write an Outputstream in a new browser window? Currently, I have the code below. Obviously it opens the stream in the same window. I know I can write the Outputstream to a file and open it in a new window but that isn't an option. protected void openPDF(byte[] dados) { HttpContext contexto = HttpContext.Current; cont...

Need to control "Z Order" of windows within WPF Application.

I have an application that, due to OpenGL airspace issues, has to host several controls in separate, exclusive windows. This is working quite well, but I am setting all of the windows to TopMost=true, which means that they do stay showing even when they lose focus, but they also overlay other applications... Also, it kind of binds me t...

Javascript Popup IE Error

I've stepped into a new position and am tasked with cleaning up pre-existing code. I will be posting a Javascript function for building hotel reservations by using a base URL and then carrying over variables to the other site. More clearly, this function allows your to access Site A and search for hotel reservations on Site B. The fun...

Axapta: How to load an image from a file on disk into a grid with a Window Control.

I have been trying: to load an image into a window control with a datamethod that loads the file into a bitmap, returning a bitmap. This makes Axapta Crash. When doing the same but returning an image does not do anything. using the "active" method on the data source has some success if I set the "imagename" to the filename and the auto...

Changing the start up location of a WPF window

I'd like to have a WPF window open in the top right part of the screen. Right now I can achieve that by opening the window and then moving it (via movewindow in user32.dll). However, this approach means the window opens in it's default location, fully loads, and then moves to the top right. How could I do I change it so that I could s...

Dynamically changing the start up location of a WPF window

This is a follow up question to an answered question [here][1]. There the startup position of a WPF window was defined in XAML. Now I'm wondering how to change those properties in code? For example could I say something like: Window1.Top = 40 in the window load event handler? Or which window event would I need to set those for it dyna...

Setting position of a Console Window opened in a WinForms App

Hi, I found some source code in this thread posted by Rex Logan here on SO : link text ... there's also some very interesting code posted in this same thread by Foredecker, but it is incomplete and complex : I'm not up enough on the 'Trace facility to know how to fully implement it ... I am able to use this Console code Rex (kindly) ...

Cross window js interaction between a popup and another window of the same domain

i'm opening a popup from window a of http://example.com. then close window a and open another window b with same domain, http://example.com. ıs it possible to access popup's DOM from window b and how? popup is opened from window a by window.open('http://example.com/blah', 'somename', settings..), executing the same from window b with di...

Finding the handle to a WPF window

Windows forms had a property win1.Handle which, if I recall, returns the handle of the main window handle? Is there an equivalent way to get the handle of a WPF Window? I found the following code online, IntPtr windowHandle = new WindowInteropHelper(Application.Current.MainWindow).Handle; but I don't think that will help me because ...