window

How can I dock parent window after opening the child window.

Hi, I am using multiple window,xaml files in my aplication. The parent window is ParentWindow,xaml. On click of one of the button in this window I am opening the child window named Ancent.xaml. Now once I open this child window, I want to dock the parent window. Can u tell me how can I do this? ...

Glut: how to know when the window is moving?

Hi, I have a problem with glut, I would like to have a callback to know when the user is moving the window of my application, and I didn't found anything in glut. My goal is to make an application only on windows, is it possible to do this with MFC keeping my glut code? Thanks in advance ...

Jquery prevent window closing

I want to ask user whether he really want to leave the page or not, when he clicks the close button just like it done in google docs. How to do that using jquery? ...

Initialize window code Mac OS X

I'm currently reading "the red book" for learning OpenGL properly, and in one of the first examples, the author writes a line that says "InitializeAWindowPlease();" as a place holder for the code that will make a window to draw the OpenGL content in. Since I'm using Xcode for my programing, I know that I "get" a window to work with aut...

jquery append to window

how can i append a div directly to the window object? <html> <head> </head> <body> <div><div> <ul>..</ul> </body> </html> and i want to append an element after the ul, but not something like $('ul').after(element), i just want to append it directly to body. thanks ...

Non-resizable windows with windowStyle=None

Basically, I want to create a window that looks like the following: However, the window shouldn't be resizable (the one in the screenshot is) but must retain the glass border. The XAML for the window in the screenshot is as follows: <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schem...

Iphone Loading another UIView to the active Window

Hello, if i have got 1 Window and in the interface builder i add a second view, then in the Main Interface Builder Window I see 2 Views which are both called "View". How do I add one of this views programmatically to the m and the h file, and what do i have to edit in the interface builder so that i can run the second generated view (how...

Windowing System for .NET Console

Hi, Does anyone know of any simple .NET windowing systems for the console? I'm looking for something that manages areas of the console such that they are automatically scrolled independently of other areas. For example, I could create a status strip down the bottom and a main content area above it. It would also be useful if it handled...

Pop-up window scrolls back to the top when closed

/*CSS */ #popup { background-color: #fff; border: 1px #000 solid; display: block; position: fixed; padding: 20px; top: 200px; left: 50%; margin-left: -300px; width: 600px; z-index: 1; } /* JQuery */ $('#show-popup').live('click', function() { var tempWindow = $('<div id="popup">This is a draggable pop-up window created with ...

Using control send on windows live messenger For auto typing text.

Hi i want to make a sort of a bot for WLM, But the normal controlsend in autoit wont work the basic question is how can i send a text to the windows live messenger window Without activating it? Example: There is someone in WLM with the window active called "Joop" I do: ControlClick("Joop","","[CLASS:DirectUIHWND; INSTANCE:2]","Left",1...

Problem accessing global javascript variables

My application has something like the following structure window.object1; window.object2; $(document).ready(function() { window.object1 = new type1object(); }); function type1object() { //lots of code this.property = 'property'; window.object2 = new type2object(); } function type2object() { //lots of code this.proper...

How to get window handle from a CDialog derived class ?

Hi All, Is there a way to retrieve window handle from a CDialog derived class (like CWnd::m_hWnd member) ? Thanks ...

Generating ButtonPress Event with xlib.

I'm tries to write my own window manager in working with xlib/X11. I have some trouble. To achieve some goals i decided to grab mouse pointer and filter mouse events. I have used XGrabPointer to redirect all mouse messages to my application, but there's a trouble - I can't obtain XID to window, which should retreive message. Additionall...

Possible to open iPhone Safari and target a specific window?

I have an app that uses OAuth to authenticate, which means the user must be directed to the website to authorize the application. I prefer to make it obvious to the user that they are using a standard browser to authorize at the original site rather than just using a web view to show the content within my app. However, every time they ...

How do I destroy a Window correctly?

I'm programming a little game, and I set the lpfnWndProc to DefWindowProc and after that, I made a loop in that way: MSG lastMessage; while (true) { if (PeekMessage( &lastMessage, this->getWindow(), 0, 0, PM_REMOVE)) { TranslateMessage(&lastMessage); DispatchMessage(&lastMessage); } } So how do I hand...

IE8 is suddenly refreshing entire window on page change/refresh

After my Vista 64 was updated via Windows Update to include upgrades to .NET, graphics, etc. (basically, pieces of Windows 7, I believe) Internet Explorer 8 has been doing something very annoying on many web sites. It's very noticeable on some sites I've built. When the page is refreshed or another page - even from the same site - is l...

no resizable in popup window dont work in firefox

i try to open new window with javascript window.open func, and add 'resizable = no' parameter, in ie its work , but in firefox it allow to resize how can i block it in firefox ? thanks. ...

MooTools: domready vs load

With which will function(){} fire first? A) window.addEvent('domready', function(){}); B) window.addEvent('load', function(){}); ...

How to close iphone Safari window before launching native app?

Easy enough to register a custom protocol handler so that a native app gets launched by a URL in Safari. However, doing this leaves the current browser window open. If the app then provides a link back to a URL (via openURL), that url will open in a new Safari window, ignoring the existing window. I asked a question here about loading...

JPanels, JFrames, and Windows, Oh my!

Simply stated, I am trying to make a game I am working on full-screen. I have the following code I am trying to use: GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice gs = ge.getDefaultScreenDevice(); if(!gs.isFullScreenSupported()) { System.out.println("full-screen not supported"); } Frame...