Jul 26, 2003 #1 K korvax New member Joined Jun 16, 2003 Messages 3 He I want to draw a windows icon in a picturebox by using the windows handler or hWnd value. for ex. I want to draw the Foreground Window:s icon in one of my pictureboxes in my form. Can anyone help me? In Vb that is.. Last edited by a moderator: Jul 27, 2003
He I want to draw a windows icon in a picturebox by using the windows handler or hWnd value. for ex. I want to draw the Foreground Window:s icon in one of my pictureboxes in my form. Can anyone help me? In Vb that is..
Aug 1, 2003 #2 A aewarnick Well-known member Joined Jan 29, 2003 Messages 1,031 Not VB but also not hard to translate: Bitmap B= (Bitmap)Icon.FromHandle(this.Icon.Handle).ToBitmap();
Not VB but also not hard to translate: Bitmap B= (Bitmap)Icon.FromHandle(this.Icon.Handle).ToBitmap();