Original Post
Hello,
I''ve got a problem with the CreateDialog function of Win32 API.
I create several (5) dialogs which are all using the same message-handler. When I press a button in the first dialog the next dialogs will not be shown, only the last!? I don''t know where my fault is. The dialogs are called like this:
CreateDialog(hInst,MAKEINTRESOURCE(DIALOG0),hWnd,MyHandler);
CreateDialog(hInst,MAKEINTRESOURCE(DIALOG1),hWnd,MyHandler);
CreateDialog(hInst,MAKEINTRESOURCE(DIALOG2),hWnd,MyHandler);
CreateDialog(hInst,MAKEINTRESOURCE(DIALOG3),hWnd,MyHandler);
CreateDialog(hInst,MAKEINTRESOURCE(DIALOG4),hWnd,MyHandler);
Has anyone an idea? - Thanks for your help!