Include mouse cursor in screen capture
问题 I use CreateDC / BitBlt / GetDIBits etc. to capture the screen, but the cursor is not captured. Is there some simple argument or something to have it included? 回答1: Further to the discussion that occurred in the comments, I had the chance to further investigate the question. As a result, I came up with the following code that will grab the current cursor's HBITMAP and draw it to the screen. Since the cursor is actually an HICON, it comes with a mask. Initially, I just did a simple BitBlt -