Have a look at this thread:
resource.dopus.com/viewtopic.php ... t=flatview
Adding a GetSizes command to the button may work, but I'm not sure. You may have to have more than one button, but you could do it using a Three-Button that you quickly left click and then right click. Try it as a single button first, it might work.