V
Victor
Hi everybody,
could anybody kindly give me a clue in dealing with a following problem
:
I create a modeless dialog by means of CreateDialogIndirect(). The call
executes within a thread and the returned HWND is assigned to a global
variable. The dialog appears and can be properly operated, but it
exists only this long as the thread where the call happens remains
alive. On closing the thread the dialog disappears the same moment.
I would like to keep it independent on the thread, though its creation
(and displaying) should be initiated by the logic flow of the thread.
My development tool is VS 2005 C++ under WinXP.
How can I achieve this goal?
Thanks in advance
Victor
could anybody kindly give me a clue in dealing with a following problem
:
I create a modeless dialog by means of CreateDialogIndirect(). The call
executes within a thread and the returned HWND is assigned to a global
variable. The dialog appears and can be properly operated, but it
exists only this long as the thread where the call happens remains
alive. On closing the thread the dialog disappears the same moment.
I would like to keep it independent on the thread, though its creation
(and displaying) should be initiated by the logic flow of the thread.
My development tool is VS 2005 C++ under WinXP.
How can I achieve this goal?
Thanks in advance
Victor