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
1 answer

Calculate window width including scrollbar - CSS Media queries vs. JS

Assuming I've deduced the problem correctly, it seems that the CSS min-screen width compensates for a scrollbar (as would be expected), while JS doesn't seem to do the same :( I'm using Firefox on Mac OSX. I'm not sure if this is browser specific,…
norsewulf
  • 511
  • 6
  • 21
3
votes
1 answer

Close window STOP php script?

I have tried searching for this forever, but unfortunately I could not find the answer. I am calculating a whole lot of Pearson correlations on huge matrixes on my server. I do this by opening example.org/testscript.php. The script itself will…
3
votes
1 answer

Change Xlib window background color with C++

This is Linux. I have created a window and I want to change its background color to green. This is how my code looks like: Window xwin = XCreateSimpleWindow(dis, DefaultRootWindow(dis), …
ali
  • 10,927
  • 20
  • 89
  • 138
3
votes
1 answer

Using window in not Activity class?

Before,I saw this snippet to find Height of statusbar?(and also Tiltebar) here: Rect rectgle= new Rect(); Window window= getWindow(); window.getDecorView().getWindowVisibleDisplayFrame(rectgle); int StatusBarHeight= rectgle.top; int contentViewTop=…
hasanghaforian
  • 13,858
  • 11
  • 76
  • 167
3
votes
5 answers

Reload a specific frame from a popup window

I have a popup window, and from there, I want the parent window to reload, but a specific frame not the entire page. So a user clicks a button from within a frame, it opens the popup. Now from the popup, based on a specific event, I want to reload…
loyalflow
  • 14,275
  • 27
  • 107
  • 168
3
votes
1 answer

Android 4.2 ACTION_OUTSIDE MotionEvent X and Y return 0 outside of own application

I created a TYPE_SYSTEM_ALERT view, set the flags FLAG_NOT_TOUCH_MODAL and FLAG_WATCH_OUTSIDE_TOUCH, and added it with WindowManager.addView(). When I touch outside of the view onto my own activity, everything works and MotionEvent.getY() returns…
kevdliu
  • 1,709
  • 4
  • 29
  • 46
3
votes
3 answers

Batch File - going back two steps in a directory path

I am creating a batch file i am on a path C:\Validation\docs\chm I want to move back to the C:\Validation part which is in %DialogPath% This was entered by the user but when i write CD /D %DialogPath% An error occurs that tells this path does…
user1926152
  • 235
  • 2
  • 8
  • 13
3
votes
3 answers

window with transparent client area

I register the window class like this: WNDCLASSEX wctt; wctt.cbSize = sizeof(WNDCLASSEX); wctt.style = CS_DBLCLKS; wctt.lpfnWndProc = WndProcTooltip; wctt.cbClsExtra = 0; wctt.cbWndExtra = 0; wctt.hInstance =…
guy mininberg
  • 67
  • 2
  • 7
3
votes
1 answer

Hiding a Powershell window using VBscript: whitespace in the -file filepath

User JPBlanc and others have given a nice solution to such a problem with the solution: Set Args = Wscript.Arguments 'MsgBox "Chemin LDAP: " & Args(0) 'MsgBox "Classe: " & Args(1) Set objShell = CreateObject("Wscript.Shell") objShell.Run…
Dave Ef
  • 71
  • 2
  • 5
3
votes
1 answer

How to use QtQuick.Window element in Qt5 and QML?

I recently installed the Qt5 RC2 for Mac OS X and started developing some QML applications. After looking at the new elements, I especially wanted to try the Window and Screen Element.…
Dominik
  • 98
  • 1
  • 7
3
votes
2 answers

How to keep a window on top of all other windows in my application only?

I would like to display a status window in my C# Windows Forms application that informs the user when the application is waiting to acquire a lock. This is an application-defined thing, however, the window should be visible and always remain on top…
ygoe
  • 18,655
  • 23
  • 113
  • 210
3
votes
1 answer

ExtJS 4.1 How to create a window with grid dynamically

I'm a new ExtJS user and I've a question. I have a store with cars and I create a menu with buttons to see all cars by brand or model. Now I want to display a window with a grid panel containing all my cars for a particular brand/model. Actually…
Gerald
  • 121
  • 2
  • 11
3
votes
2 answers

.NET (C#) Window Minimize Event

Hey, I'm really stuck with my project here... I need to know when any open window has been minimized / restored and Handle the event in my own App. Any ideas? Edit: Musigenesis is right, i do want to know when OTHER applications are…
Gabriel
  • 83
  • 1
  • 6
3
votes
1 answer

How to calculate ActualWidth ActualHeight before window showing

I'm trying to calculate StackPanel width, height (located in middle cell of the grid) before window showing (for example in window constructor). How it can be achieved?
user1897059
  • 183
  • 2
  • 7
3
votes
0 answers

Java: Open New Window Instead of New Tab

Possible Duplicate: Can Java’s Desktop library launch a URL in a new Browser Tab or Window? When I run this code in Java it opens a new tab. String url = "www.google.ca"; java.awt.Desktop.getDesktop().browse(URI.create(url)); I am using google…
Qwertyfshag
  • 1,029
  • 3
  • 9
  • 6
1 2 3
99
100