Memdc.BitBlt(., &dc) // copy screen contents ![]() For example: CWindowDC dc(NULL) // use NULL to get whole screen All you have to do to capture the pixels on the screen is copy them from the screen device context using BitBlt. Many third-party programs are available that can capture the screen, and it's also easy to write such a program. Is there some way I can disable the Print Screen function to prevent users from copying images to the clipboard?Ī There is a way to disable Print Screen, but I should warn you that there's no way to prevent another application from grabbing the pixels from your window. Q I'm building an application that displays proprietary graphics. Disabling Print Screen, Calling Derived Destructors, and MoreĬode download available at: CatWork0511.exe (176 KB)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |