hmi222 Posted July 28, 2011 Posted July 28, 2011 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
hmi222 Posted July 28, 2011 Author Posted July 28, 2011 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now