I have written code in vb .net to take a screenshot of the screen. It captures the screen, but it doesn't capture mouse pointer. My code is below
Private Sub Take_Clip()
Dim graph As Graphics
Dim bnd As Rectangle = My.Computer.Screen.Bounds
Dim SS As Bitmap
SS = New Bitmap(bnd.Width, bnd.Height, Imaging.PixelFormat.Format32bppArgb)
graph = Graphics.FromImage(SS)
graph.CopyFromScreen(0, 0, 0, 0, bnd.Size)
End Sub
How to modify this code to capture mouse pointer also?