Hi Folks
If i write a messagebox question
Pseudo code something like this
RETID=MessageBox (" Want Yes or no","caption",MB_YES,MB_NO)
i can collect the RETID returned and do with it as i wish, within that line of code
If i create my own window (NOT A DIALOG BOX) and attempt the same with my own buttons
Is there a simple way to collect the RETID returned without recieving it via WM_COMMAND or WM_NOTIFY etc
I would like to
retrieve the RETID directly in the same way as i would with messagebox
as in
if (MyMessageBoxButton==ID_YES) do something etc
I can disable all input to other windows in my app ( except the buttons on my MyMessageBox of course) and i can do it with a Bool but its complicated tying up the return with each message to each action
I have a good reason for wanting this so any advice would be great
I can supply more detail if that is not concise enough.
BTIA gromit