Hiding a view
-
Hello, It sounds crazy but how can I disable and hide my current view in my SDI app (CHtmlView) (and afterwards display it again)? [1] I've tried SetVisible and EnableWindow but it does not work. Background: In a modal dialog I temporarily load a different page for printing. The user should not see that there is another page loading or printing. Regards, Niki [1] With hide/disable I mean e.g. that the current view is just white or even better: just frozen.
-
Hello, It sounds crazy but how can I disable and hide my current view in my SDI app (CHtmlView) (and afterwards display it again)? [1] I've tried SetVisible and EnableWindow but it does not work. Background: In a modal dialog I temporarily load a different page for printing. The user should not see that there is another page loading or printing. Regards, Niki [1] With hide/disable I mean e.g. that the current view is just white or even better: just frozen.
ShowWindow[^](SW_HIDE) and ShowWindow(SW_SHOW) could do the trick
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
-
ShowWindow[^](SW_HIDE) and ShowWindow(SW_SHOW) could do the trick
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
-
Yourwelcome. :)
> The problem with computers is that they do what you tell them to do and not what you want them to do. <