screen

What is a robust method for capturing screen of child window in Windows 7?

Pardon my frustration. I've asked about this in many places and I seriously don't think that there wouldn't be a way in Windows 7 SDK to accomplish this. All I want, is to capture part of a 'child window' ( setParent() ) created by a parent. I used to do this with bitblt() but the catch is that the child window can be any type of applic...

How to make a shortcut/script that checks and toggles screen orientation in Ubuntu 9.10

I have a screen with pivot functionality, and I'd very much like just one shortcut/launcher on my desktop that toggles between two orientations. In my case that would be the two commands: xrandr -o left xrandr -o normal How can I make this a shortcut that checks which orientation is used and make it take appropriate action? I use nvi...

Differentiate the two home screen inBlackberry Storm

Hi All, I am talking about BlackBerry storm. Generally, it has two homescreens. Is there any way programatically I can detect the two homescreens. I am stuck in this. The first home screen is where 1or 2 or 3 rows of icon appears and which shows the background image(wallpaper). The second homescreen appears after clicking on the firs...

Is there a way to determine android physical screen height in cm or inches?

I need to know exactly how big the screen is on the device in real units of length so I can calculate the acceleration due to gravity in pixels per millisecond. Is there a method somewhere in the Android API for this? ...

How do I launch background jobs w/ paramiko?

Here is my scenario: I am trying to automate some tasks using Paramiko. The tasks need to be started in this order (using the notation (host, task)): (A, 1), (B, 2), (C, 2), (A,3), (B,3) -- essentially starting servers and clients for some testing in the correct order. Further, because in the tests networking may get mucked up, and becau...

c# How to get the events when the screen/display goes to power OFF or ON?

Hi I have been searching but I can't find the answer. How do I know when the screen is going off or on. Not the SystemEvents.PowerModeChanged . I dont know how to retrieve the display/screen EVENTS private const int WM_POWERBROADCAST = 0x0218; private const int WM_SYSCOMMAND = 0x0112; private const int SC_SC...

Blackberry - Maximum number of screens to be pushed in UI stack

Hi friends, Do anyone know maximum how many screen we can push in an UiApplication without calling popscreen() and what will be the maximum file size of each screen class. Thanks as Regards Mintu ...

vlc player screen capturing

Hi everybody! If I turn on the outputmode "directx video-output" in vlc video I'm not able to make a screenshot (without getting a black image). So 2 questions: 1.) Is there any solution to capture the image without changing the settings in vlc-player? 2.) If not, how can i get this effect for my application using c# (prevered) or c++?...

how can i "screen scrape" other windows program in VB6 ?

I would like to monitor a process every second until it displays an expected "error" message. how can i monitor something.exe and get notification via "screen scraping" the error message from something.exe all from my vb6 program ? is it possible to terminate or click the "okay" button from vb6 ? is this sort of thing better suited for...

Screen Resolution Problem In WPF ?

I'm gonna detect the resolution with the following code in WPF : double height = System.Windows.SystemParameters.PrimaryScreenHeight; double width = System.Windows.SystemParameters.PrimaryScreenWidth; Current resolution of my screen is 1920*1200, but height is 960.0 and width is 1536.0 !!! What's wrong with it ? Thanks in advance. ...

How can I find out a web page viewers pixels per inch?

Can anyone think of a way I can discover a users pixels per inch? I want to ensure that a image displays in a web browser exactly the size I need it to, so using a combination of resolution (which I can get from the user agent) and pixels per inch I could do this. However, I'm not sure if there is any way to discover a users pixels per...

How can I send an email from app of the screen or text portions of the screen

Hi I’m kind of New to iPhone development and I want use MFMailComposeViewController, to take the text/notes which are in two text views one editable the other is not, that are on the screen and have them automatically applied to the subject portion of an email, is this possible and if so how would I implement it. Thank for any and all h...

How to display table in COBOL's SCREEN SECTION?

Hey everyone, For learning purposes I am trying the following: I am trying to display a table via COBOL ... I want to define the way it is all displayed in the SCREEN SECTION. Following happens or is supposed to happen - all without multiple screens opening: (1) User enters ENTRY-SCREEN (2) User has to type in a password (nothing hap...

Android Bluetooth crashes after orientation change

Hi, My code is based on the BluetoothChat sample from the API. I connect to another device just fine and I can read and write to the connection no problem. But then if I turn the device the orientation of the UI changes automatically. After this, if I try to write to the Bluetooth connection, my application crashes! It seems weird that...

Spawn a screen session from launch daemon

I've written a launchd .plist which should attach a debugger to the WindowServer when it launches. The main part of the script looks like screen -D -m -S "WindowServer Debugger" \ gdb \ -x $GDBSCRIPT \ /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/WindowServer ...

How to flash the desktop when I'm receiving an email ?

Hi, I'm developing a email client and I want the screen to flash briefly when I receive a mail. I searched anywhere I could in .NET documentation, but the only way I found to achieve it was to use DirectX functions which is of course impossible : I don't want my users to install DirectX only for a mail client :) Is there a way to do th...

which is the standard screen resolution for windows mobile?

I am developing the smart device application. There are different screen resolution for different window mobile devices. I want to know that which is the standard screen resolution for windows mobile? ...

how to remove what setpixel put on the window?? (c++)

im using SetPixel to make stuff on my window which is the easyest because i only want to set one pixel at a time. SetPixel is great but i need to remove the color every time i update it, i could overwrite the color by black but.. it's a really big waste of time is there some way i can over write all of the colors to black? (i would like ...

How do I get a reference to the Screens collection in VB Express 8?

I've tried this example directly from MSDN: Dim Screens() As System.Windows.Forms.Screens and I can't find a way to get a reference to the Screen. I've checked my references and they seem fine but I may have missed something. Anyone experience this or know of a bug? EDIT 0: It helps if you're using the correct project type. In WPF...

How to determine height of the Display on Blackberry touch devices?

Hi. I trying to determine display vertical size of my Blackberry Storm 2. I know, my device has 480 pixels height. I try to get this value in my code, but if virtual keyboard is shown, i get value equals to 480 - (height of virtual keyboard). Is there any function to determine real display height on any device (with or without keyboard,...