Hi all,

Sorry to have so many questions.
I create a modeless dialog and use SW_SHOW to show the dialog inside a
function. However, when the function exit, the modeless dialog also
disappear, even I put the dialog variable as a global variable.
I want the modeless dialog appear until I close it by code. What should
I do?
I am using EVC++3.0 and develop application in PPC 2002.

Thanks!!

RE: Modeless Dialog Problem by TH

TH
Wed Oct 20 04:47:03 CDT 2004

There could be many reasons... try using SetWindowPos to make it a topmost
window and see what happens. A look at your code would be helpful though...

"¢«¤p©úCSM¢¨" wrote:

> Hi all,
>
> Sorry to have so many questions.
> I create a modeless dialog and use SW_SHOW to show the dialog inside a
> function. However, when the function exit, the modeless dialog also
> disappear, even I put the dialog variable as a global variable.
> I want the modeless dialog appear until I close it by code. What should
> I do?
> I am using EVC++3.0 and develop application in PPC 2002.
>
> Thanks!!
>
>