I saw a movie when I was a kid about a guy in love with a girl. He would write poems for her. The girl wore a top hat in some scenes. I barely remember the movie, but I remember it made a huge impression on me. It was black and white, probably made in the 60's in then Czechoslovakia or Yugoslavia. I know this is not much to go on, but if you've seen it, you'll know the movie. I hope :)
I asked my mother, as she is far more familiar with the old Yugoslav movies than I am. However, she said that the "black and white movie with a woman wearing a top hat" sounds to her like a German movie "Der blaue Engel" (Blue Angel) from 1930., with Marlene Dietrich in the main role.
No other ideas what it could be.