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
3
votes
6 answers

New line as a delimeter of FOR loop

I am new to batch script, and I am trying to parse a file that has key value (kind) of pairs delimited by new line. For example: the value of abc 1234 the value of def 5678 the value of ghi 9876 I would like to read this file using new line as…
gthm
  • 1,878
  • 4
  • 26
  • 37
3
votes
1 answer

Visual Studio - window layout according to open file type

In Visual Studio, is possible to set window layout according to open (just viewed) file type? For example, when I design a graphical user interface, thus I edit some xaml file, I would like Properties Window to be shown, but when I edit any other…
Peter Sivák
  • 557
  • 7
  • 10
3
votes
2 answers

Running a Java window within a C# Application

I have been searching around to see if there was anyway to run a java executable within a c# program, but I cannot seem to work it out or were to begin.
3
votes
2 answers

Switching Windows with Python

I'll preface this by saying that I'm very inexperienced with python, and I'm hoping that means the solution to my problem will be simple. My program will be performing simple actions in another window, so ideally I would like my script to make sure…
user2171931
  • 39
  • 1
  • 1
  • 2
3
votes
2 answers

Converting my multi window WPF app to one window?

I made a WPF app that opens successive windows based on user interaction. For example, the first winodw asks what module the user wants to work on, when a selection is made and a button pushed, a new windows open showing some Vendors and summary…
3
votes
1 answer

Preventing execution pause when dragging game window

I have a server and a client. But when ever I start moving the game window, it stops executing code until the window stops moving,causing a connection timed out because the server or client stopped responding for a while. What do I need to do in…
Guillermo
  • 99
  • 1
  • 6
3
votes
1 answer

How to bring a Kendo UI Menu in front of a kendo (draggable) window

I want to use a menu bar at the top of every page of my asp.net mvc4 web application with Kendo UI. One of my web pages is a combination of multiple draggable windows of Kendo UI. When a have a window placed right under the menu, the menu opens…
user1919031
  • 85
  • 1
  • 7
3
votes
1 answer

Setting FlowDirection to RightToLeft for all windows in an application

I am trying to set the FlowDirection of all the windows the application will generate to RightToLeft. I tried the following Window.FlowDirectionProperty.OverrideMetadata( typeof(Window), new…
BU.
  • 113
  • 7
3
votes
1 answer

Setting up a Win32 OpenGL Window with a GL_RGBA Color Buffer

I am trying to set up an OpenGL window with an alpha channel in its color buffer. Unfortunately, my current setup is creating a GL_RGB back and front buffer (as reported by gDEBugger, and as shown by my experiments). I set up the window like…
geometrian
  • 14,775
  • 10
  • 56
  • 132
3
votes
2 answers

Add Icon for ToolWindow in WPF

How can I add an Icon for ToolWindow in WPF? Just as
Sauron
  • 16,668
  • 41
  • 122
  • 174
3
votes
4 answers

Repositioning a Windows Form (location)

How do I position a Windows Form to the bottom-right of the screen when it gets open, instead of top-left? Situation: I have a Form1 which doesn't actually do anything as a form, I just used it for its context menu (my app works from the tray…
aborted
  • 4,481
  • 14
  • 69
  • 132
3
votes
5 answers

JavaScript Image Popup Window

I would like to setup my gallery web page so that when a user clicks on the thumbnail image, a window pops up displaying a larger view of the image. I do not mean a pop up window as in a browser window but a window that is loaded within that same…
user
  • 16,429
  • 28
  • 80
  • 97
3
votes
2 answers

How to get the window location on the screen of an XNA game?

I am making an XNA 4.0 game in visual studio c# 2010 express. In the game i am using a winForm for some properties that the user can change. I want the winForm window to appear exactly right to the main xna game window (for clarity and better…
OPMagicPotato
  • 215
  • 1
  • 2
  • 7
3
votes
3 answers

Need a way to return scroll window position after page refresh

I am writing a game in PHP/Zend Framework and Facebook JavaScript. The gameboard is displayed in a scrolling window. To view the entire gameboard, the user must scroll around. Each step of the game causes a page refresh, so when the user moves on to…
Chris Barnhill
  • 1,957
  • 3
  • 16
  • 18
3
votes
1 answer

XNA Game does not update while "dragging" window, any event handlers?

I'm new with XNA and C#, and I've come to the point in my XNA project where I need event handlers to predict when the game loses focus so that I can sync music and visuals once it gains focus again. But I got one problem; the game does not "update"…