ahk_learning wrote:Hi,
Im trying to use GDIP library to capture Nox App Player's window but the result are not expected, it have a blank window instead of the content like image below:

the code:
Any suggestion are appreciate.
Thanks
I have an example Capture Screenshot of Active Window included in my AHK Framework ( uses and includes GDip also includes GDip_All ) and I haven't had any issues with it even though I have had issues with PrintScreen and various utilities... Give it a go and if it works, all of the code is mostly captured in the processes\ screenshot file ( plus 1 or 2 functions in functions\ and I have started using libraries so string.safe in classes\ )... But you will likely not need to go that far:
https://bitbucket.org/Acecool/acecoolah ... k/overviewIf you want to install it, drop it into Dropbox\AcecoolAHK_Framework and run _assets\_setup\setup.bat in admin mode and confirm the folder paths ( if wrong you'll need to edit the bat; I will release a new setup bat file where it is more user-friendly or as AHK because AHK needs to be installed prior to installing this ) and press enter which will generate a replacement Documents\AutoHotkey.ahk file ( which launches DropBox\AcecoolAHK_Framework\framework_launcher.ahk )[ note: if one exists it'll be backed up ] and it will symbolically link AHK_INSTALL_PATH\Lib to AcecoolAHK_Framework\libraries\ ( it will rename the original if it exists )... Then run AutoHotkey.exe and for the first launch you won't get a notification to rebuild the inclusion list ( for if you drag and drag new files in; if you simply edit existing files then you can Reload This Script from tray and it won't pop up any nags. For second launch and further it will ask you if you want to skip recreating the inclusion list or not; in most cases select Yes ( default ) which runs the framework and no will rebuild the inclusion list...
Alt + F12 is the hotkey..
I decided to download Nox App Player to give it a shot to save you some time and because it looks interesting... I'll give it a shot and post the result...

