| |
|
|
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. |
|
|
| |
|
|
|
| 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. |
|
|
| |
|
|
|
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. |
|
|
| |
|
|
|
| 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... |
|
|
| |
|
|
|
| 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... |
|
|
| |
|
|
|
| there Melanie here none View source posted has, do ichs time. so can eachone mitdenken and self tüfteln: CompileMarkSeparationCLS
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. |
|
|
| |
|
|
|
Michael Wodrich | |
|
| 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 .. |
|
|
| |
|
|
|
| hopefully have I now at least whom right View source erwischt |
|
|
| |
|
|