|
"Close all" - not so close to "Close" in the menu After the third time I realized it may be a design flaw - "Close" option on tabs is right next to "close all" so a slight inaccurate move and all your tabs are closed. I suggest to separate "Close" from...
Started by 168 on
, 13 posts
by 6 people.
Answer Snippets (Read the full thread at opera):
Or assign a mouse....
Not a problem in real life:
1) I assume that very few people use the tab menu to close a single tab, so the chance that anybody accidentally hits "close all" might be slim
2) Accidentally closed tabs click the tab.
|
|
I have three JFrames, i want to close one of them without influence to another. what can i do to get it ?
thanks Peter. I want to open two(or more) JFrames at the same time, and When I close one of them(use the default close button), others is still open...
Started by Keating on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT :
If I understand your edited question, then your application terminates when you close(JFrame.DISPOSE_ON_CLOSE); on your JFrame when initializing, not setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
DISPOSE_ON_CLOSE will....
|
|
How can I close a browser window without receiving the "Do you want to close this window" prompt"?
The prompt occurs when I use the window.close(); command.
Derek
Started by Derek on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Closing Page:
<script type="text/javascript">.
My friend into letting you close the browser on this page.
Window.open('foo.html');.
To close a window that wasn't opened with JavaScript, i.e.
|
Ask your Facebook Friends
|
How to close any application even if task manager unable to close
Task Manager > Process TAB > image name > right click > end process
Started by Jitendra vyas on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
If you're interested in other....
Worth a shot though before reaching for the third party tools .
You could try giving the taskkill command a shot:
taskkill /f /im program_name.exe
Although I believe it uses the same method to kill processes as Task Manager .
|
|
In my web application a lot of popups opened from the parent window using 'window.open'. So I want to close all those popups when my application's main window is closed. How can I do that?
Started by Sauron on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To know that the user closes the window but assuming you do achieve that (by a close button or subscribing to the beforeUnload event) you can close the opened windows by following the next bullets, execute the close method....
|
|
I have an application that uses simple sockets to pass some characters between two systems. I have my java application running as a server. I establish a connection fine, and even pass one message. However, after one message has been sent my connection...
Started by windfinder on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
As @Eddie said (seconds before me! :) ), closing the writer ....
Don't close it until you are ready to close the underlying socket.
Yes, closing any Writer/Reader will close all other Writers and Readers that they wrap.
|
|
In Unix C programming, is it considered good practice to explicitly close file handles before the process exits, or is it instead good practice to let the OS close the file handles and thus avoid unnecessary code?
Which of the two would generally be considered...
Started by Erik Öjebo on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
close()ing a socket will flush it, for example, and if this fails you....
Then again, it depends on the file descriptor type.
It's very good practice to close the descriptor if your program will go on but the descriptor isn't required anymore.
|
|
Hi,
I have a winforms application, that why someone clicks on a button I need to open up IE to a specific URL.
When someone closes the winforms app, I then need to close IE.
Is this possible? If yes, how?
Started by AnonymousAnonymous on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT:
Code to close a window handle is ....
That way when you close the website you have handle that was created), you can kill the process (or close the window) when you app exits.
Into your application using the WebBrowser control.
|
|
I have a form which is displayed through: ShowDialog() . The form doesn't have CancelButton specified.
When I open a BrowseDialog from the form and then close the BrowseDialog , the form is also closed. How can I prevent this from happening?
When the ...
Started by MysticEarth on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
From your browser dialog, do a check on the sender arg to see which dialog is requesting the close.
|
|
By using fdopen() , fileno() it's possible to open streams with existing file descriptors. However the proper way to close a file, once you've opened it with a stream is to fclose() the FILE pointer. How can one close the stream, but retain the open file...
Started by Matt Joiner on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
However, keep in mind the location pointer is shared, so .
Of the fd won't close with the FILE * .
|