Control not redrawn after SetWindowPos/MoveWindow
Hi.
I am trying to move the install button.
The two following commands does move/resize the button, but it is not redrawn afterwards.
GetDlgItem $0 $HWNDPARENT 1
System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) b ($0, 0, 530, 370, 97, 23, WHATEVER_FLAGS)"
System::Call "User32::MoveWindow(i, i, i, i, i, i) b ($0, 0, 0, 50, 50, TRUE)"
The only way I can get it to reappear is to give it focus using the tab button. Once it gains focus it is redrawn.
What am I missing here?
Thanks.