Thread and its custom window (!?)
-
Hi, I know that to manage the GUI of the application a separate thread have to send/post messages to the main thread to let him do everything. But, please, help me to understand if this is possible: It is possible to create, manage and finally destroy a window (or a dialog) all in a separate thread? I mean a simple dialog like a custom message box dialog, or input dialog. It can be enough for mo to display some graphic into a little DC that I like to manage with a separate thread, like an external object. Thanks...
Russell
-
Hi, I know that to manage the GUI of the application a separate thread have to send/post messages to the main thread to let him do everything. But, please, help me to understand if this is possible: It is possible to create, manage and finally destroy a window (or a dialog) all in a separate thread? I mean a simple dialog like a custom message box dialog, or input dialog. It can be enough for mo to display some graphic into a little DC that I like to manage with a separate thread, like an external object. Thanks...
Russell
I know an application whose views will be drawn by separate event-controlled threads :) I know an application whose worker-threads do show topmost windows with a progress control :) Yes, it is possible.
virtual void BeHappy() = 0;
-
Hi, I know that to manage the GUI of the application a separate thread have to send/post messages to the main thread to let him do everything. But, please, help me to understand if this is possible: It is possible to create, manage and finally destroy a window (or a dialog) all in a separate thread? I mean a simple dialog like a custom message box dialog, or input dialog. It can be enough for mo to display some graphic into a little DC that I like to manage with a separate thread, like an external object. Thanks...
Russell
It should be possible.
> 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. <