Using javascript "window.close()" method after opening new window using "window.open", it serve the problem i.e. but it will ask a confirmation message to user whether he really wants to close the window or not... if user selects yes then the parent window will close and if not then he will remain on the same window and new window will n...
I create a window like this:
if (someCondition)
{
MyWindow wnd = new MyWindow();
wnd.Owner = this;
wnd.ShowDialog();
}
I want MyWindow's destructor to be called at the closing curly bracket, but it doesn't. Do I need to call something like delete/destroy for MyWindow's destructor to be called?
...
I have styled a window to replace the standard Chrome and I want to handle the Activated and Deactivated events using EventSetters. I get an error "...'Activated' must be a RoutedEvent registered..." with this:
<EventSetter Event="Activated" Handler="Window_Activated"/>
However, this works fine in the same style.
<EventSetter Ev...
I need a javascript solution to launch only one window, with a Java Applet in it, for a given URL. I found a solution posted here on Stack Overflow -
here: http://stackoverflow.com/questions/528671/javascript-window-open-only-if-the-window-does-not-already-exist
But it doesn't seem to work .. I get
Error: launchApplication.winrefs is ...
Hello,
I created a window with the following flags to overlay a d3d application:
WS_EX_TOPMOST | WS_EX_COMPOSITED | WS_EX_TRANSPARENT | WS_EX_LAYERED
I proceeded with colorkeying the window for transperacy and all worked well.
However once I began drawing on it using GDI an unforeseen problem occurred:
For some reason the mouse events (...
I created a simple transparent app for Adobe AIR in Flash. It has not chrome, so now I need to make it draggable. How could this be done? Thanks!
...
I need to create a "popup window" in AS3, which can contain things like textboxes and datagrids and stuff like that.
I have searched thoroughly, and have been unable to find such a component or class. Why did they remove the AS2 window in as3? That would have been perfect for this.
The closest thing I could find was http://fatal-except...
I am trying to get the handle of a window from a process. Now, that process shows a splash screen, so, if i try ProcessInstance.MainWindowHandle all I get is the handle of that processes main window, that is the splash screen.
How can I find the window I want? Maybe if I could get a list of windows that process has I could pick the one ...
As far I know this is not supported for asp.net projects. It's quite handy for testing static/shared functions.
Does anybody have any info if this will be available in future versions? Or if there are any alternative ways to test your functions in design mode?
...
Hi,
I have a custom window (matt gemells Transparent Window class) and I need to change the window's alpha value to achieve a fade in/out effect and perform a "makeKeyAndOrderFront:".
However this does not work.
What I did:
I imported the header:
#import "TransparentWindow.h"
Then tried:
[TransparentWindow setAlphaValue:0.5];
[...
I am starting an application in C# through Process.start(). when that application opens initially a child window runs to attempt to connect to a simulator hardware. till the child window succeeds in connecting to the hardware the child window remains in focus and the main window remains in the background. once the child window succeeds i...
I should develop a online search application which connects to an external database in a different server. This application can be a web application one (running on a Internet browsers basically) or a normal standard window application (with its own GUI). Does one of the two approaches have more benefits of the other? If so, which one?
...
This is a line for a hyperlink in HTML:
<a href="http://www.starfall.com/">Starfall</a>
Thus, if I click on "Starfall" my browser - I am using FireFox - will take me to that new page and the contents of my window will change. I wonder, how can I do this in HTML so that the new page is opened in a new window instead of changin...
Hello, my site is a design on index.php and then a frame on it.. Now, i want to do so the titles changes When you browse to eg. Videos.php.
So how should i do this with window.parent and title?
The title needs to be changed on index.php.
So cant it be done like on videos.php:
<script>
window.parent.changeTitle("Videos - Mysit...
I'm looking to create an invisible window for the processing of certain X events (sort of like NativeWindow in Winforms). Is this possible in GTK#? Or do I need to manually create such a window using P/Invoke to the X libraries?
...
Hi,
I would like to get the XAML source of a WPF Window (MainWindow). Clicking on a button on that window would return the XAML of the window and I would save it in another file.
Is this possible and how can it be achieved?
Thanks!
Satixx
...
For example. Assume I do:
dev.new(width=5, height=4)
plot(1:20)
And now I wish to do
plot(1:40)
But I want a bigger window for it.
I would guess that the way to do it would be (assuming I don't want to open a new window) to do
plot(1:40, width=10, height=4)
Which of course doesn't work.
The only solution I see to it would be t...
Hy there,
I'm new to Qt and i tried to create a Frameless window, which is dragable. The Problem is, if i move the window.. there are are thousands of (it? sorry, don't know how to describe it in english) until i stop.
Is there a way to fix this, or am i thinking the wrong way?
MyWindow.h
#include <QMainWindow>
#include <QLabel>
#incl...
Hello, I am writing a program to sit in the background on osx 10.6, listen to keystrokes and record them, grouping them by window title. (No, I am not writing malicious software. I do not need this program to be sneaky in any way, I just want to have a safety net for when I have typed a huge email and then accidentally refresh the page...
Is there any possible way of disabling multi core functionality on windows and just using a single core using C\C++? Any library that allows it?
My application access one of our chip modules used to communicate with the host. We suspect someone else is accessing this module and changes it. The strange thing is that it only happens on a m...