Posted July 28, 201114 yr Hi. Im trying to skin a Static Box in a dialog with a Region. But it doesnt work at all. The Dialog itself skins with its Region. Trying for the Static Box: invoke GetDlgItem,hWnd,IDC_Static1 ;Getting the hwnd of StaticBox mov hWnd_OGL,eax invoke CreateEllipticRgn ,20,-20,190,150 ;create an eliptic Region invoke SetWindowRgn,hWnd_OGL,eax,TRUE ;apply to Static Box. ---> after that Box is as Orginal , a Rectangle! so is it possible to skin a Dialogbox Control???? Thanx in advance
July 28, 201114 yr Author Finally got it to work. It skins the view as Elippse, but paints the rest of the Rectangle in its grey.So ive to create a brush for the rest ofthe rectangle to its background.Is ther another solution?
Create an account or sign in to comment