thanks MSG for the right direction,
so now I have the handle of the checkbox and can check/uncheck it using SendMessage.
I also found the right function to resize it, but first I want to get the position of the checkbox inside the window. System plugin is a powerfull tool, but I cannot get the result I wish, so I hope someone can help.
here is the code wich should get the coordinates of the checkbox (RECT), but all values I get back are 0.
System::Alloc 16
Pop $1
System::Call "User32::GetClientRect (i $mui.FinishPage.Run,i r1)"
;System::Call "User32::GetWindowRect (i $HWNDPARENT, i r1)"
System::Call "*$1(i .r2, i .r3, i .r4, i .r5)"
System::Free $1
MessageBox MB_OK|MB_ICONEXCLAMATION "left: $2 $\r$\n top: $3 $\r$\n right: $4 $\r$\n bottom: $5"