win32
asked on
.SetWindowRgn
I wanna set a WindowRgn for a CButton
m_CButton.SetWindowRgn(HRG N hRgn, true);
How do I setup a hRgn so I will only draw ? a button. What I want 2 do is draw Width/2 of a button, therefor I need to set a hRgn for my button right ?
-- How is it done ?
CB.
m_CButton.SetWindowRgn(HRG
How do I setup a hRgn so I will only draw ? a button. What I want 2 do is draw Width/2 of a button, therefor I need to set a hRgn for my button right ?
-- How is it done ?
CB.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SetWindowRgn does not work with the standard buttons.
ASKER
True, MadYuqoslav your'r right. I found out just a few minutes after I postet this message.