I'm trying to write a Sierra Chart plugin that uses a dialog box. I found some reference code (from right here: https :// futures [dot] io/sierra-chart-programming/45896-how-do-i-go-about-making-modeless-dialog-boxes-code-provided.html#post702140) that seems close to what I need (especially based on the rest of that forum thread), but I'm trying to change it to what I need. That is, a dialog box that comes when a shortcut menu item is clicked (that part is easy-peasy once I have the dialog implemented with the win32++ framework linked on the first line).
The dialog box takes text input. There are 3 buttons. An OK button, a button to click if you want the text input to go to a list called List_1, and a second button that puts the text input into a different list called List_2. At the moment, all I have is the design for this right here generated by Visual Studio:
From `NewTestDialog.rc`:
Now, below is parts from the code reference I have that is relevant to me and that I'm having trouble with.
From `OldTestDialog.rc`:
From `OldTestDialog.h`:
and from `OldTestDialog.cpp`:
How do I go about changing this implementation of CDialog so that it suits my needs better?