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?
...
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...
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?
...
how to open a pop up window in code behind(C#) without using javascript.
...
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.
...
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...
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 ...
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++
...
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...
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...
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...
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?
...
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?
...
I'm learning c++ and QT and would like to be able to launch windows from a console application. Is this even possible?
...
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 ...
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...
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 using
GetCellTowerInfo, any info is welcome.
...
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...
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...