Create win32 modal child window
-
Hi, What is the best way to implement a modal child window in win32? Thanks in advance. Snir Yarom.
-
snir_ya wrote:
What is the best way to implement a modal child window in win32?
"Best" meaning "New and improved"? Or the "Best" because it has a 30 day money back guarantee?
led mike
-
(-: "Best" as the most "lean and mean". No body guarentees anythings nowadays. Sheer advise, my friend. Sheer advise.
-
snir_ya wrote:
"Best" as the most "lean and mean".
"Lean and mean" code as in development/maintenance overhead or runtime performance? Never mind I have lost interest now since it has taken you at a minimum three posts to explain your request.
led mike
-
Intresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question" and yet i'm being bullyied by a clown. Cheers mate. Chris - please revoke Mike's code project ribon.
snir_ya wrote:
ntresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question"
Perhaps you missed point 2. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
Hi, What is the best way to implement a modal child window in win32? Thanks in advance. Snir Yarom.
snir_ya wrote:
...modal child window...
:confused: Could you be a tad less discrete, or perhaps provide an example of what you are after?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Intresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question" and yet i'm being bullyied by a clown. Cheers mate. Chris - please revoke Mike's code project ribon.
-
snir_ya wrote:
i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question"
Really you consider your original post to be "specific"? In that case you might want to consider this[^].
led mike
In the pink, today? :laugh:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
Hi, What is the best way to implement a modal child window in win32? Thanks in advance. Snir Yarom.
modal like a modal dialog? If so, that means the user must dismiss the window before (s)he can do anything else. To do that, 1) disable other windows 2) create the window 3) run a message loop until the modal window is closed/dismissed 4) enable other windows 5) destroy the modal window Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
In the pink, today? :laugh:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
modal like a modal dialog? If so, that means the user must dismiss the window before (s)he can do anything else. To do that, 1) disable other windows 2) create the window 3) run a message loop until the modal window is closed/dismissed 4) enable other windows 5) destroy the modal window Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
I would swap (4) with (5), but maybe I'm wrong.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles] -
I would swap (4) with (5), but maybe I'm wrong.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
[my articles]Either way...whichever way is most pleasing to the user. All the repaints resulting in the destruction and re-enabling will determine that I suppose :) Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
modal like a modal dialog? If so, that means the user must dismiss the window before (s)he can do anything else. To do that, 1) disable other windows 2) create the window 3) run a message loop until the modal window is closed/dismissed 4) enable other windows 5) destroy the modal window Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: