区域HRGN用过后会失效吗?
kezhu 2005-01-01 10:38:51 HRGN hh=CreateRectRgn(10,10,100,100);
SetWindowRgn(Panel1->Handle,hh,true);
SetWindowRgn(Panel2->Handle,hh,true);
结果Panel1正确,Panel2没有任何变化,但如果
HRGN hh=CreateRectRgn(10,10,100,100);
SetWindowRgn(Panel1->Handle,hh,true);
hh=CreateRectRgn(10,10,100,100);
SetWindowRgn(Panel2->Handle,hh,true);
就两个都正确,这是为什么?