A small dog at a window in a red brick building.
a dog standing at a window looking at someone 
A dog standing on an opened window 
A dog that is sitting in a window.
A dog is sitting alone in an apartment window.