... HWND Window = MessageBox(NULL, "foo", "bar", MB_YESNO); if(Window == IDYES) { MessageBox(NULL, "gerafft?", "...", MB_YESNO); } ...