Hello, I'm developing a GDI program with 3 windows and can’t make menus to work.

All 3 windows are created, but when I try to use options from menu, the program stop responding.

Please any One