Hi,
I save application windows and browser pages to files using the Save Window() function. If these are windows of any application or pages of FireFox, IE browsers, everything is fine. But if these are Google Chrome browser pages, I get files with a black square. What could be the reason ?
Google Chrome Pages as files
- karinha
- Posts: 7932
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Google Chrome Pages as files
Show via code how you are doing. It's easier to help.
Regards, saludos.
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Re: Google Chrome Pages as files
The code is simple:
1. Through EnumChildWindows() I get a list of handles of visible windows
2. For each handle I show the window in full screen ShowWindow(hWn, 3) and through SaveWindow(hWn, path+file name, width, height,) I save the DC windows to a file (bmp/jpg/png)
Everything is fine, but it does not work to copy DC to a file from the Google Chrome page![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
1. Through EnumChildWindows() I get a list of handles of visible windows
2. For each handle I show the window in full screen ShowWindow(hWn, 3) and through SaveWindow(hWn, path+file name, width, height,) I save the DC windows to a file (bmp/jpg/png)
Everything is fine, but it does not work to copy DC to a file from the Google Chrome page
![Crying or Very sad :cry:](./images/smilies/icon_cry.gif)
Re: Google Chrome Pages as files
hi,
i have similar Problem when try to make "Snapshot" of running Video
but you always can use
than i can get Bitmap in Clipboard and "DrawDCtoDC" it to new empty Bitmap
under HMG i use "Bos Taurus", not sure how to o it with FiveWin
i have similar Problem when try to make "Snapshot" of running Video
but you always can use
Code: Select all | Expand
SENDKEY( VK_SNAPSHOT )
than i can get Bitmap in Clipboard and "DrawDCtoDC" it to new empty Bitmap
under HMG i use "Bos Taurus", not sure how to o it with FiveWin
greeting,
Jimmy
Jimmy
Re: Google Chrome Pages as files
Simulate a Print screen, and then save the Clipboard to a file... This, however, is not very convenient because you will have to pull the windows to the foreground. But can do that. Thank you, Jimmy !