ShowWindow()
-
Hi: Is it possible to hide the dialog in a dialog-based application? if possible,where and how ? in OnInitDialog and with ShowWindow(SW_HIDE) or...please help me. Best Regards.
-
Hi: Is it possible to hide the dialog in a dialog-based application? if possible,where and how ? in OnInitDialog and with ShowWindow(SW_HIDE) or...please help me. Best Regards.
Why do you want to hide it? It would disappear from task switching list (Alt+Tab) and user wouldn't be able to show it back. Anyway, you may call
ShowWindow(SW_HIDE)
, or even reset a dialog template's Visible flag in the resource editor. Regards, BB -
Hi: Is it possible to hide the dialog in a dialog-based application? if possible,where and how ? in OnInitDialog and with ShowWindow(SW_HIDE) or...please help me. Best Regards.
MR ZarrinPour wrote: in OnInitDialog and with ShowWindow(SW_HIDE) Yes. But, you probably don't want to do this for a modal dialog. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com