473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Handle des Desktop-Fenster (nicht des aktuellen Bildschirms)

Hallo

Mein Ziel ist es, das Desktop-Fenster als Bitmap zu speichern bzw
als Bitmap-Objekt zu erhalten.
Das geht auch recht gut mit Graphics.FromHwnd() und der Verwendung
von GetDesktopWindow() und BitBlt() (Win32).
Das Problem ist, dass die API-Funktionen GetDesktopWindow() und
GetShellWindow() beide den aktuellen Bildschirm zurückgeben -
also mit den aktuell geöffneten Fenstern.

Ich würde gerne ein Abbild des Desktops wie beim Minimieren
erhalten.

Geht das überhaupt oder sind alle Fenster per se Kindfenster
des Desktopfensters?
Kann man die Kindfenster irgendwie programmtisch verstecken -
ohne den tatsächlich angezeigten Bildschirm zu verändern?
Mfg,
Alex
Feb 27 '06 #1
1 4625
Alexander Mueller schrieb:
Hallo

Mein Ziel ist es, das Desktop-Fenster als Bitmap zu speichern bzw
als Bitmap-Objekt zu erhalten.
Das geht auch recht gut mit Graphics.FromHwnd() und der Verwendung
von GetDesktopWindow() und BitBlt() (Win32).
Das Problem ist, dass die API-Funktionen GetDesktopWindow() und
GetShellWindow() beide den aktuellen Bildschirm zurückgeben -
also mit den aktuell geöffneten Fenstern.

Ich würde gerne ein Abbild des Desktops wie beim Minimieren
erhalten.

Geht das überhaupt oder sind alle Fenster per se Kindfenster
des Desktopfensters?
Kann man die Kindfenster irgendwie programmtisch verstecken -
ohne den tatsächlich angezeigten Bildschirm zu verändern?


Sorry wrong group!

Mfg
Alex
Feb 27 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Phil B Brubaker | last post by:
I'm trying to create my own shellexecute program named shell4OD and am having problems with handles. Here is my code ... ===== Private Declare Function ShellExecute Lib _ "shell32.dll" Alias...
4
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum...
1
by: Matt | last post by:
Hi I am looking for a way in C# to use a IntPtr handle to a (possibly unmanaged) windows form to get the current position of the window on the desktop. I have tried using Form.FromHandle( handle...
3
by: TC | last post by:
Hey Folks, I am using the following 4 Win32 APIs with a C# AddIn: FindWindow SetWindowLong SetForegroundWindow EnableWindow Within the AddIn, there are some winforms. I use these APIs to...
1
by: Juan Romero | last post by:
Hi guys, Does anyone know how I can get a handle to the desktop or the screen? (of for this matter, the device context handle) I want a program to write some stuff there, but I can't seem to...
4
by: brandon | last post by:
Anybody out there know how I could go about handling, in a systray'd app, the windows message that the desktop is going to be locked? This way the application can react whenever the Win+L or...
4
by: harvie wang | last post by:
Hi, I use API GetDesktopWindow to get desktop window handle and compare with WindowFromPoint(x,y) to get window handle. GetDesktopWindow return 65556 WindowFromPoint return 65700 but I use...
2
by: =?Utf-8?B?TWljaGVsIFNjaGF3YW5u?= | last post by:
Hi all, I try to create a service witch handle the session switch events: Lock, unlocked etc... I can do this with a standard executable like this (it's just an example):...
0
by: gnrgattadi | last post by:
Hi All, Im Unable to get desktop handle in vc++.net.Is there any method existed in .net that will provide desktop handle like in vc++ GetDesktopWindow(). In my Project I have to make A...
0
by: bsg92618 | last post by:
hi my work email is alvis.floyd@ngc.com if you can please a reply to this addr i have crated a desktop application whit an AXSHDocVW webbrowser. how can i get the handle of that web browser. i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.