window

How to open real popup window in Flex

I need to open popup window in my flex / air application that will be displayed like normal application window. All I could manage is to open a window which is displayed inside my main flex window. Is it something like that possible, and is there some workarounds if not? ...

JavaScript window.open only if the window does not already exist

I have an application that opens a new window on clicking a link. This spawns a page that holds a Java applet. The problem I am having is that clicking the same link reloads the page, which resets the Java application. Is there any way to trap this? Two solutions that would be acceptable are: Allow multiple windows to be opened from th...

How can I bring a window to the foreground in Vista using C++?

I have a piece of code that brings the window under the cursor to the foreground using the SetForegroundWindow API for WinXP. I have been testing it for Vista but the API seems to no longer do the job correctly. AllowSetForeground did not help, my process is a background process. What can I use to accomplish this? ...

open a pop up window without using javascript

how to open a pop up window in code behind(C#) without using javascript. ...

Jquery toggle on window minimize.

I have a div that toggles in and out of display when you click on another div. How could I modify my code so that when the user minimizes the whole browser window it automatically toggles, hiding the div from view so when the user un-minimizes window the div is no longer visible. ...

How can I make resizing WPF windows less "laggy"?

I am relatively new in the WPF world and one thing I immediately noticed is how laggy the window content is drawn when you resize a window. For example if you have scrollbars at the window edges those scrollbars will be partly hidden while shrinking and have space between them and the window border when enlarging. This even happens with...

How to create a WPF Window without a border that can be resized via a grip only?

If you set ResizeMode="CanResizeWithGrip" on a WPF Window then a resize grip is shown in the lower right corner, as below: If you set WindowStyle="None" as well the title bar disappears but the grey bevelled edge remains until you set ResizeMode="NoResize". Unfortunately, with this combination of properties set, the resize grip also ...

How to get width and height from CreateWindowEx() window? C++

I have made a window with CreateWindowEx() function, now how do i get the width and height from that window i created? This sounds very basic thing to do, but i just couldnt find any answer ;_; This is needed because the window height is created automatically depending on how the Windows wants to create it. Language C or C++ ...

How to close command windows with Java

Each time I use Runtime.exec("cmd /c start....") I am opening a cmd window. I would like to create a more seamless application by closing each previous cmd window. How can I do this? If anyone knows of a better way to run a series of commands in the same cmd window rather than opening new ones each time I execute a command, please let m...

Resize window with actionscript 3.0

Is there any way to resize an entire Flash project using Actionscript or some other method? I have created a 1024x768 Flash CS3 application, but upon closer inspection of the specifications, I now realise it has to be 800x600. Instead of manually making everything smaller, I'd like to resize the window as if someone were dragging the o...

How do I set a flash object to open a url in a new window?

Hi Guys, I have this code: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="300" height="250"> <param name="movie" value="Spotify_premium_300x250.swf" /> <param name="quality" value="high" /> <embed src="Spotify_pre...

How do you get console input and output in a Windowed C++ project?

I would like to make a debug system in C++ where I can get input from a console and output. Output is the most important, but I would also like to get input to be able to change settings during program execution. Does anyone have any good methods on solving this dilemma? ...

do not want to open a new window in flash

I have a home page in flash that links to pages in Dreamweaver. When online, I do not want a new window to open when directing to the url. (Now, I have an actionscript to go to URL, and a new window opens). Is there anyway to keep it the same? ...

Does anybody know how to launch windows from a console app using QT?

I'm learning c++ and QT and would like to be able to launch windows from a console application. Is this even possible? ...

Fastest way(s) to move the cursor on a terminal command line?

What is the best way to move around on a given very long command line in the terminal? Say I used the arrow key or Ctrl-R to get this long command line: ./cmd --option1 --option2 --option3 --option4 --option5 --option6 --option7 --option8 --option9 --option10 --option11 --option12 --option13 --option14 --option15 --option16 --option17 ...

How to take a screenshot of the Active Window in Delphi?

For full screenshots, I use this code: form1.Hide; sleep(500); bmp := TBitmap.Create; bmp.Height := Screen.Height; bmp.Width := Screen.Width; DCDesk := GetWindowDC(GetDesktopWindow); BitBlt(bmp.Canvas.Handle, 0, 0, Screen.Width, Screen.Height, DCDesk, 0, 0, SRCCOPY); form1.Show ; FileName := 'Screenshot_'+FormatDateTime('mm-dd-yyyy-hhnn...

javascript resize event firing multiple times while dragging the resize handle

I was hoping this jQuery plug-in would work, but it didn't http://noteslog.com/post/how-to-fix-the-resize-event-in-ie I added a comment to his site, but they're moderated, so you might not see it yet. But anyhow, let me explain my desire. I want a "resize" type of event to be fired when the user either pauses his resize, and/or comple...

Unable to get any other values other than CID and LAC using RIL WM6

Unable to get any other values other than CID and LAC using RIL WM6 using GetCellTowerInfo, any info is welcome. ...

Delphi: Show window without activation

I struggle to show a second form above the main form without losing focus. I have tried ShowWindow(second.handle, SW_SHOWNOACTIVATE), but the mainform loses focus. If I set Visible := false on the second window, the call to ShowWindow does not activate the second form, but the windows is empty when shown... Does anyone have a good reci...

WPF Lock Window Size to Viewbox Size

I have a window that contains a resizable viewbox with a uniform stretch. The window frame however does not stretch uniformly. So when someone resizes the form gaps of whitespace open up along one or another edge of the form. Looks bad. Any way to force the window to only expand uniformly? (or another way to look at it, lock it to t...