winapi - How to get a user input on a MessageBox on C++? -


i have application on c++ (on windows api) , ask user approve task using messagebox. however, it's bit sensible task , nobody reads message, want change have input box , user type "i agree".

does know simple way that? find dialogboxparam() can it, it's overkilling needs, can think on more simple (or simple way use it)?

i found prompting user input box? [c++] quite similar question, there no satisfactory answer me (using lib not option).

you have write own dialog that. messagebox , related apis not offer such functionality. use task dialog api (introduced in vista) show dialog box button having customised caption. might little better plain messagebox limited set of buttons.

i'm little cynical trying achieve in case. if force users type i agree ignore content of dialog box , type ask them type.

the difference in outcome between typing dialog , standard button press dialog user take longer past dialog, , dislike software, still not have read content of dialog. in other words, thing achieve doing hold user.

at point have accept user takes responsibility actions. if give them helpful message , choose ignore it, on them.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -