Modeless Dialog
-
I am using modeless dialog box in my application . But When I minimize Main Application the modeless Dialog Box also minimize . It is also not showing in the task bar to switch to modeless dialog . How to avoid the dialogbox to minimize with the main Application .also how to show it in taskbar
Rajesh
-
I am using modeless dialog box in my application . But When I minimize Main Application the modeless Dialog Box also minimize . It is also not showing in the task bar to switch to modeless dialog . How to avoid the dialogbox to minimize with the main Application .also how to show it in taskbar
Rajesh
What is the parent of your dialog? The main window of your app? Try to make the desktop the parent and make sure your dialog has the "app window" style to make it appear on the taskbar.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
What is the parent of your dialog? The main window of your app? Try to make the desktop the parent and make sure your dialog has the "app window" style to make it appear on the taskbar.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
How did you create your modeless dialog? Show code please.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
What is the parent of your dialog? The main window of your app? Try to make the desktop the parent and make sure your dialog has the "app window" style to make it appear on the taskbar.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
As Code-o-mat suggested, you need to set the desktop as the parent for the Modeless dialog. You have the parent on create itself.
CWnd* pParentWnd = GetDesktopWindow();
pMyModeless->Create( IDD_DIALOG1, pParentWnd );Величие не Бога может быть недооценена.