Questions tagged [window]

In computer science a window is a graphical interface to let a user interact with a program. Questions regarding Microsoft Windows should use the "Windows" tag.

A window is an area of the screen containing controls and other objects controlled by a program. A User can use these objects to instruct the program on what to do and the program can use these objects to show outputs related to user commands. A window is an important part of Operating Systems havin a Graphical User Interface (GUI).

9460 questions
39
votes
1 answer

Linux machine with docker deploy windows container

I have a Linux server with 16GB ram with docker host installed. I would like to deploy on it a Windows Server container. Is it possible? Anyone has just tried this solution?
Claudio Pomo
  • 2,392
  • 7
  • 42
  • 71
38
votes
6 answers

How to make PopUp window in java

I am currently developing a java application. I want to show a new Window which contains a text area and a button. Do you have any ideas?
Carlo
  • 1,147
  • 3
  • 15
  • 23
38
votes
5 answers

Completely hide WPF window on startup?

I want that my window is completely hidden on the startup. No window, no entry in the taskbar. The user doesn't see, the application is started. How can I realize that? Thank you!
rakete
  • 2,953
  • 11
  • 54
  • 108
38
votes
6 answers

Window resize directive

I was trying to make a div resize when the window resizes, after looking around, it seems that using a directive was the best solution. Template:
woutr_be
  • 9,532
  • 24
  • 79
  • 129
38
votes
18 answers

How to recover closed output window in netbeans?

It often happens to me that I want to clear the current output window by using the context menu, but instead of hitting the Clear entry, I accidently hit the Close entry (which is directly below Clear). How can I get that output window back!? Via…
radlan
  • 2,393
  • 4
  • 33
  • 53
37
votes
3 answers

How to compare the current row with next and previous row in PostgreSQL?

I want to know how to retrieve results in a SQL query doing some logic comparison with the next or previous rows. I'm using PostgreSQL. Example Supposing I have a table in my database with two attributes (ordered position and random numbers), I want…
Renato Dinhani
  • 35,057
  • 55
  • 139
  • 199
37
votes
1 answer

How to clear the entire console window?

I am making a console window RPG, yet I'm having problems clearing the entire console window. Is there a way for me to clear the entire console window with one command?
zimooo2
  • 421
  • 1
  • 4
  • 9
37
votes
6 answers

Is it possible to get gVim to remember window size?

I know how to set the initial window size in gVim, but how do I get it to automatically restore the window dimensions from last session? Is this even possible?
Charles Roper
  • 20,125
  • 20
  • 71
  • 101
37
votes
1 answer

Close a split window in Vim without resizing other windows

If I have a Vim window open with 2 splits in it (3 total buffers visible) and I've adjusted the viewport of each split, then I close one buffer, the other two buffer's viewport's are automatically resized. Is there a way to maintain or at least…
matpie
  • 17,033
  • 9
  • 61
  • 82
37
votes
5 answers

Open button in new window?

How would I go about making the button open in a new window, emulating "a href, target = _blank"? I currently have: The…
Latox
  • 4,655
  • 15
  • 48
  • 74
37
votes
1 answer

jQuery add and remove $(window).scroll(function()?

How can I remove and then add the $(window).scroll? I need to store a variable and reuse it after some event. // here i store my var $(window).scroll(function(){ myScroll = $(window).scrollTop() }); $("#itemUnbind").click(function(){ //…
Dee
  • 3,185
  • 10
  • 35
  • 39
37
votes
4 answers

Setting window size on desktop for a Windows 10 UWP app

I've just started learning UWP app development on Windows 10 Pro using Visual Studio 2015 Community Edition. I tried to modify the C# version of the official "Hello, World!" sample by setting the Width and Height attributes of the Page tag in…
kol
  • 27,881
  • 12
  • 83
  • 120
37
votes
7 answers

Run a batch file in a new window from batch?

I know it seems this has been asked before, but I need a batch to open another batch in a new window. I've tried: start abc.bat cmd abc.bat run abc.bat and others. They've all opened in the same window or just opened Command Prompt in new window,…
Genocide
  • 507
  • 1
  • 5
  • 5
36
votes
7 answers

js window.open then print()

print() doesn't work in IE after opening a new window. It works in Chrome. Here's a tester: