What i need is to change visibility of "dockControl".
This is when you click on right side in "tabs" (attribute editor,tool settings,etc).
I figure out this before some time , but now i can't remember how to do this.
P.S. This is for maya 2011 .