English
Forum

Window-Snapshot

 

Melanie
Brayer
Hi,

I write yet at a Shell and tüftel straight in a task-/Window-manager al a MacOS. the vollgende trouble yields itself, if I a direct copie the DCs directly with the windows-APIs or with startpaint try:
The Window-Snapshot contains too pieces one übergeordneten Fensters, I but not wants, I only one Image one special Fensters having wants.

the Window into Vordergrund To fetch is a little badly, there the Snapshot in conscience Intervallen aktuallisiert go should.
Who there ideas, The to Solution contribute?
 
mele (¯`·.¸¸.{ WinXP Pro, XProfan9, XPIA }.¸¸.·´¯)

<Bugs zählen ist besser als Schafe zählen, da der Computer nur so schlau ist wie der der Mensch der ihn bedient.>
12/12/05  
 



Tjo Melle means to of my theory does it unfortunately not at all what You want.
windows fundamentally save no copy one Fensters. windows says solely whom Controls the tappt im dunkeln itself Redraw should - or. which reaches.

the fundamentally is juristisch To understand - what accordingly not always hot should, separate except Aussnahmen.

These Aussnahmen are however heavy APP-tributary - what you unfortunately accordingly nothing uses.

ought to I brill so Please I circa Korrektur.

To denne, David.
 
12/12/05  
 



Have me not yet with GetWindowDC BitBlit engage - red time your Anfänge see, I moment see I do not, Why not weg ought to...

If two cogitate, comes Perhaps what vernünftiges thereby out.
 
12/13/05  
 




Frank
Abbing
Hi,

I Have the to some Time too ansatzweise attempts, be but To keinem zufriedenstellenden Ergebniss come.
what I not yet attempts having, was one DIB one HDCs one Controls/windows to create and the DIB on a new begot HDC To copy. could you on the simplest testing, if You times the ProSpeed.dll dazunimmst. then can dus too immediate Save.
only over the HCD goes - suspect I - none.
 
12/13/05  
 



in the manner I had me the too virtual...
the Save is without additional DLL something costly. If I More Time had, would ichs time with the ProSpeed testing. be very tensely, whether it goes...
 
12/14/05  
 



goes unfortunately not and has too nothing with the jeweiligen application To do. there shining only the in the DC To stand, what really visible is - pity ...
Getestet with GetWindowDC, BitBlt and Startpaint -1.

best Thanks over again Screen memory - with your Help was the benötigte View source only a couple Lines long...
 
12/15/05  
 



there Melanie here none View source posted has, do ichs time. so can eachone mitdenken and self tüfteln:
CompileMarkSeparation
CLS
DEF @GetDC(1) !USER32,GetDC
DEF @GetWindowDC(1) !USER32,GetWindowDC
DEF @CreateCompatibleBitmap(3) !GDI32,CreateCompatibleBitmap
DEF @BitBlt(9) !GDI32,BitBlt
Def @ReleaseDC(2) !USER32,ReleaseDC
Declare Dialog&,WinDC&,MEMDC&,HBITMAP&
AddWindows
LET Dialog&=@Control(DIALOG,Dialog,$D0C80000,30,30,300,300,%Desktop,4000,%HINSTANCE)
LET Dialog&=@FindWindow(@ListBox$(Fitte Fenster auswählen,3))

If Dialog&<>0

    LET WINDC&=@GetWindowDC(Dialog&)
    MCLS @Width(Dialog&)+10,@Height(Dialog&)+10
    Startpaint -1
    @SetActiveWindow(Dialog&)
    Sleep 1000
    LET MEMDC&=%HDC
    LET HBITMAP&=@CreateCompatibleBitmap(MEMDC&,@Width(Dialog&),@Height(Dialog&))
    @BitBlt(MEMDC&,0,0,@Width(Dialog&),@Height(Dialog&),WINDC&,0,0,$00CC0020)
    @ReleaseDC(Dialog&,WINDC&)
    Endpaint
    MCOPYBMP 0,0-@Width(Dialog&),@Height(Dialog&)>0,0;0
    Sleep 1000
    @SetActiveWindow(%HWND)

    While 0=0

        Waitinput

    wend

endif


salvo.
 
12/16/05  
 




Michael
Wodrich
?? still in work ??
 
Programmieren, das spannendste Detektivspiel der Welt.
12/16/05  
 



No, mere wrong copies, Have me today already a couple time so ausgetrickts - see simply not any more, I there on-screen make ..
 
12/16/05  
 



hopefully have I now at least whom right View source erwischt
 
12/16/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.057 Views

Untitledvor 0 min.
H.Brill01/05/19
Andre Rohland11/27/12
Julian Schmidt09/20/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie