window

WPF mirror application to two windows?

Hi, I have an application with one window. I'd like that window to be replicated/mirrored across two external monitors. (However, either of the monitors should be able to be interacted with, just simple button presses.) (I could just create two windows and manually make all the same calls, but I'm wondering if there's a way to just 'mi...

Jquery Iphone/Android scrolling Fixed header?

In the contacts on both iphone and android, when you get down to the B's, the heading "B" is fixed to the top of the scrollable windows until you scroll down to the C heading, when you get to the C heading, it replaces the B heading, so if a person in looking at one of his 200 E contacts, he knows he's in the E section. does that make se...

Jquery:(under 10 lines) when body.scrolltop > this 'h2', fade that h2 out, when it's not, fade it back in.

When the top of the body window is greater than or equal to the h2 tag, fade the h2 out, if the top of the window goes back up above that h2, fade that h2 back in. This code will fade out each individual h2 as you pass it scrolling down, but when i scroll back up, it wont fade it back in, and i'm not sure what i'm doing wrong. i'm not t...

twistd in Twisted cant be run in window

in command prompt i type >>twistd echobot.tac Traceback (most recent call last): File "C:\Python26\Scripts\twistd.py", line 18, in ? from twisted.scripts.twistd import run ImportError: No module named twisted.scripts.twistd the twistd is at C:\Python26\Scripts\twistd.py #!c:\python26\python.exe # Copyright (c) 2001-2009 Twisted ...

Target Different Window c#

Hey, I have been searching on google and I cant seem to find anything about targeting different windows in c#, I am using Visual studio 2010. I'm not sure how to do this but I'm pritty sure it can be done, does anyone know where I can read up about it? I need to be able to target a different program (like notpad for example), and simul...

How to achieve a captionless bordered Aero window?

I know how I can remove the border of my form, but I simply want to remove the caption. Googling for P/Invokes didn't give me much results, so I'm wondering, how can I achieve such a result? Exampel: http://localhostr.com/files/d2e951/Captionless.jpg ...

How can I detect the user has clicked on the Page Tab where my html page is?

I'm developing a web chat and I need to raise an event when the conversation has changed so the page title changes so one user can know that the other user has written anything. So I tried the code: addEvent(window,'focus',function(){ alert(1); } ); and addEvent(document,'focus',function(){ alert(2); } ); but it does not work. ...

How to close stdout/stderr window in python?

Hello, in my python app, I print some stuff during a cycle. After the cycle, I want to close the stdout/stderr window that the prints produced using python code. How can I do that? Thanks in advance ...

Showing Hand Cursor on a Window on Mac

I have an HIViewRef created using HIObjectCreate. This is basically a window in which I draw something. I want a hand cursor on this Window. I am working on a legacy code and use Carbon, so please no Cocoa. Any ideas on how can I associate a hand cursor on the window. ...

how can i make a program run sillently? (without the console window appearing)

For example, in C#, you can make a program run without the black screen appearing...so I thought: since anything you can do with .NET you can also do with Win32, maybe there's a solution. Any ideas? ...

How to jump forward/backward from Xcode split window?

I used to split my Xcode window to 4 sub windows (not popup). I wonder if there's shortcut key to move cursor from one sub window to another ? +++++++++++++++++++++++++++++ + + + + + G / + F1 + F2 + + r F + + + + o i +++++++++++++++++++++++ + u l + + + + p e + F3 ...

In WPF how do I Resize main windows during the runtime.

I want my main WPF window during the runtime, when there is not enough space for my control, to resize itself. I could create a window which takes a maximum amount of space on the screen and make it transparent, but are there any other ways to do it? ...

OSX window move notification API

How do I know when user starts moving, stops moving and moves a window belonging to another application or the Finder? I know about kAXWindowMovedNotification but it is not what I need because it only reports when mouse is stopped and additionally it notifies about any moves also these which have not been done by user. I cannot find any ...

Painted content invisible while resizing in Java

Please note I haven't tested this on a Windows-machine only on a Mac-machine. I'm not so sure whether this also occurs on a Windows-machine... When I resize my Java-application the content is invisible. I already found a way to fix it after resizing it, but not while the user is resizing the window. I'm not using Swing or something bec...

c++ check cursor position

im trying to see if the cursor is inside my game not on the menue or the border inside the game. i don't konw what function should i use? i thought of using GetcursorPos() but is there better function? ...

Jquery Image resizing and centering to window not working in Safari

UPDATE: So due to this page: yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/, I realized that finding the window dimensions is not safari's problem. Instead it's finding the image .width() and .height(). I tried some of the ideas on this page: http://36flavours.com/2010/01/jquery-document-ready-bug-in-sa...

Predefines for iPhone os and mac os

Hey guys, As im working on a game engine for my company. i got in the setup fase and i need some predefines to check the os on the device / desktop. I need predefines to check when ever the target os is windows / mac or iphone os. Can any one help me with that? god bless you in advance :). ...

How can I create a new C# Window based on my existing Window?

I know this mite be a bit of a silly question but how do i create another window from my main window in c# windows application? I don't know where to look for this type of questions. ...

Window clicked - what happens then? (c++)

Hello! I am working on a limited remote control of another PC over network. At first the controlled window is chosen and the client may control that window and all child windows. I am having a problem with the mouse though, I can move it using SetCursorPos, but when I try to send the WM_LBUTTONDOWN and WM_LBUTTONUP messages, there is no ...

Xna - get window location?

I'm trying to rig an XNA WinForms system so I can have a game editor, and I need to use the mouse for it. Since the XNA Mouse input class reports mouse position based off of the window's location, I need to place the form I have in the same spot. How can i get the location of the window that my XNA game uses? ...