window

Cover screen with window in cocoa

Hello- I am writing a Mac application, in Cocoa, that needs the ability to 'lock down' the computer. Basically, I am writing a small agent that will sit in the background and when prompted, throw up a window that covers the entire screen, including the status bar, and shows a message (something like "give me back my computer, thief!"). ...

flexigrid popup modal window

Hi Guys and Gals, I am trying to create a script using FLEXIGRID as a method to display the information from a database, but I want the users to able to input info into the database as well. I would like to be able to launch a modal window where the user can input the information and submit it. The way the buttons on the FLEXIGRID are c...

Qtestlib log window

I link my program against the qtestlib and include QTest. But then I get a log-window which prompts all the qDebugs, when the application starts even if I set the configuration to release or debug. Is it possible to include QTest without opening a log-window on application start? I need some functionality of QTest in my program. Note t...

How do you center your main window in WPF?

I have a WPF application and I need to know how to center the wain window programatically (not in XAML). I need to be able to do this both at startup and in response to certain user events. It has to be dynamically calculated since the window size itself is dynamic. What's the simplest way to do this? Under old Win32 code, I'd call the...

Go to anchor without changing url

On loading a page I would like it to go to #content without changing the url. I thought I would be able to use window.location.hash = "content"; window.location.replace("#content", ""); but #content still exists on the url. Any better method? Edit: Also tried window.location.hash = "content"; window.location.replace(window.loca...

Create WPF Window at Runtime

Hi, Is it possible to create a WPF Window control at runtime? I'm thinking of a somewhat hack-ish solution to a problem, but I would essentially like to be able to have a dll which allows me to dynamically load a WPF Window and compile it's associated code behind (from an xaml and cs file respectivly). I assume I would also have to man...

Remembering which display application was closed on

Fairly straightforward question: How can I tell a VB6 application to remember what display it was closed on, and then when the application is launched again, to display the main form on that monitor? ...

Managing a remote Windows Service

As part of my app, my users install a Window Service (msi file written in C#) that uploads data to me. These Windows servers are usually behind all kinds of firewalls etc. and run by IT staff so it's difficult to get in touch with anyone to debug. What can I put inside my application that would make it easier to figure out things? I'm...

In JavaScript - after I open a window using window.open - can I resize its dimensions at will?

I realize that most browsers block window resizing but was wondering that since I am the parents of this newly opened window, would I have any priveleges over sizing it not just on the Open but after? I am not trying to annoy users either :) I specifically need to keep 2 windows in sync (Same size). thanks! ...

Python/Tkinter: Mouse drag a window without borders, eg. overridedirect(1)

Any suggestions on how one might create event bindings that would allow a user to mouse drag a window without borders, eg. a window created with overridedirect(1)? Use case: We would like to create a floating toolbar/palette window (without borders) that our users can drag around on their desktop. Here's where I'm at in my thinking (ps...

Is it possible make all JFrames the internal program uses into JInternalFrames and place them in a JDesktopPane?

The goal is to have the user select a java program, then my program opens up a JInternalFrame with a JEditorPane inside it as the console and places said JInternalFrame in a JDeskopPane. Is it possible to change all the Windows the user's program may open into JInternalFrames and place them in said JDesktopPane, as well? (individual qu...

How can you check if a window is minimized via the terminal in linux

How can you check if a window is minimized via the terminal in linux? ...

DevEnv Vs2008 crashing on exit when output window is undocked?

VS2008 SP1 I have a bunch of windows (output, call browser, error list, Find Results 1) docked in the lower pane of VS. If I simply undock those windows, then go to File->Exit, VS crashes with "microsoft visual studio has encountered a problem and needs to close" I attach a debugger, it takes me to line 75 of atlcomcli.h "if (*pp)" ...

GTK+ how to taskbar, make window "solid"

Hello! I'd like to write a dock-like application. How can I make my bar "solid"; so that maximised windows neither are below or above my window, but the bar confines all other windows? (ergo: permanently takes up space on the screen) ...