The king was overjoyed by her words , and from early in the morning till late at night he sat at the window and looked carefully at all the passers-by , in the hopes of finding a son-in-law among them .