Einzelnen Beitrag anzeigen

EWeiss
(Gast)

n/a Beiträge
 
#29

AW: MagSetWindowFilterList function not remove specified window of screenshot

  Alt 29. Jan 2018, 01:05
Zitat von Zacherl:
The (corrected) C++ example works on my Windows 10, but the Delphi code crashes somewhere inside MagSetWindowSource
@Zacherl,

MagSetWindowSource not is necessary, i tested here (Delphi code) without this api and screenshot still is works.

About callback also is working fine here, my callback function is executed when Magnifier window (Form1) is maximized, now i need of some help to fix this trouble of black capture

Edition:

MagSetWindowSource and MagSetImageScalingCallback works fine since that (Form1) is maximized. My trouble now really is with the black capture in callback function.
Hi,
sorry your should learn C++ before translate any..
as i see, what your do here? as example

ImageScaling(hwnd: hwnd;
that looks very bad for me.

you can use in C++
Code:
hwnd Hwnd
but not in Delphi to..

should be
ImageScaling(Handle: HWND;
then your set your Window not on TopMost that is bad also... and so on.
read the API then create a application from beginning, just my 2 Cent.

greets

Geändert von EWeiss (29. Jan 2018 um 01:08 Uhr)
  Mit Zitat antworten Zitat