Click to See Complete Forum and Search --> : CWnd::GetWindowRgn Not Work.


KhojastehPour
April 22nd, 1999, 07:49 AM
Hi

In a DialogBase App I create a CRgn in OnInitDialog() method and assign to dialog and shape of dialog was changed but when I
call GetWindowRgn method it returns ERROR.

mihai
April 22nd, 1999, 08:21 AM
Be sure that your rgn variable is not destroying after InitDialog.
Sincerely, Mihai