To your first question, You may be able to do this with obtaining a window handle from the shell. Although, I have no clue how to do the rest. Why do you want to do those things, anyway?