Certified GKH Gardening Expert
There are plenty of flowers that grow well in window boxes and the shade. Begonias, Impatiens, Pansies, and Snapdragons are all compact and shade-loving.
Here's a good list of flowering shade plants:
And here's another good list of shade plants that do well in containers or boxes: