I finally find out how to use selections :-) I want to implement OpenClipboard, CloseClipboard, etc. I need to put that in the WINAPI unit. But what unit is the WINAPI unit? winapi.inc? gtkwinapi.inc? interfaces.pp?