Hi. I am using VC++ win32 api. Now I am trying to draw a button using
SetWindowRgn function. This function doesn't work on button like to
window, and I have no ideea why. When I call function this way
case: WM_COMMAND
switch(wmId)
case buton1id:
SetWindowRgn(hbutton,rgn,true);
break;
break;,
it means when I click on button, it becomes the form I need, but when I
click second time the button, or drag the window, or press alt+tab, it
doesn't work any more.
Can any one help me? Does any one know where is the problem and how to
fix it?
Thank you