A very cute black and white dog standing by a window.
A dog standing on its legs to see out the window.
a little dog standing on its back legs and looking out a window 
A dog standing on its hind legs staring out a window.
A dog is looking out of a window.