I am trying to determine when the main window of my application has been moved. The main window is a standard QMainWindow and we've installed an eventFilter on the QApplication to look for moveEvents for the QMainWindow, but none are being triggered. For a variety of reasons, subclassing the QMainWindow isn't really an option.
Any thoug...
I'm using the Qt library to show a slideshow on the second monitor when the user isn't using the second monitor. An example is the user playing a game in the first monitor and showing the slideshow in the second monitor.
The problem is that when I open a new window in Qt, it automatically steals the focus from the previous application. ...
One of my projects suddenly had its double-clicking behavior changed and I don't know how to change it back.
The behavior I want:
Double clicking a source code file opens up a new window.
The behavior I have:
Double clicking a source code file opens the file in the existing window. This results in only allowing one window open for th...
So I generally have 3 buffers open in Emacs.
One buffer for the actual code I am writing.
One buffer for the unit test for said code.
A third buffer that displays the results of the unit test. This buffer comes into being
below the two other buffers when I run my unit test C-x SPACE.
How do I disable this third buffer such that when ...
I am coding in Eclipse (on the Mac) and need to run OS shell commands from time to time.
I have a lot of bash terminal windows open and it takes time and is distracting to find the right one for the programming session.
The commands are not always the same, and I need to see the output, so something like an External Builder will not do...
I'm writing an app in WPF and want to make a "helper" window. The window needs to be resizable, with no minimize option and doesn't show in the taskbar. If the app receives focus, it should appear as well, but whether or not it's in front or behind the main window should be retained. When the main window is closed, it should close along ...
I have a FileSystemWatcher instance running in the background of my PoSh session watching for changes to text files. A PoSh event subscriber is attached to this event and, when fired, it launches a console program by calling Start-Process. This program steals de focus from the current foreground window (my PoSh console). Calling SetForeg...
Here's what I did:
Right-clicked on an item in the 'Objects and Timeline' panel.
Selected 'View XAML'
Resized the window to a '0' size so that it went off the bottom of the screen.
Now, even if I:
Select 'Reset Current Workspace'...
Or restart Microsoft Expression Blend....
I can't get the XAML view back.
Can anyone help m...
I've got a legacy WinForms app and I want to save the window position and size across sessions. I've been using GetWindowPlacement and SetWindowPlacement during the FormClosing and Load events. The problem I'm getting is that at higher DPI settings (Such as Medium, size at 125%) the sizes keep inflating. I'll call SetWindowPlacement on i...
Is there any way to get an AppleScript to access the menu items that come up when you right click on a dock icon?
Specifically, here's what I want to do:
I use Google Chrome as my web browser on MacOS X Snow Leopard. I am a keyboard shortcut addict, and I use QuickSilver to create keyboard shortcuts for anything I can. One of the mos...
I want to create a simple stacking window manager (in C) for private use, mainly for the purpose of learning and challenging myself.
I've looked through twm's source code which has relatively few bells and whistles but it seems very low level since it's not based on a widget toolkit.[1] Would using a toolkit such as GTK+ be preferable? ...
I'm making a fullscreen OpenGL application, and I want it to restore original desktop mode when user switches away from it, and to restore mode back when user switches to it.
This looks like "FocusIn" and "FocusOut" events, but they are not suitable for this. Window will get "FocusOut" as soon as user presses Alt+Tab and window selector ...