how to remove windows elements during run time

how to remove windows elements during run time

i need to hide windows elements(mim.max,close) during runtime. is it posible?

This is a migrated post! Originally posted on 25.05.2011 by user tanveerali. Please be aware that information can be outdated.