is there any way to get the size of the system toolbar ?? and if it's up or not?

i'm trying to position a window in the bottom right hand corner of the screen and i need to make sure i'm including the toolbar information with it.

thankx,