How to pass object to MFC dialog
I have a class named IF
, in the header she has an object deque <CMessage> m_messages
I need to write in the constructor "new" to this deque? how do I do this?
I need to pass this deque with data inside it to my dialog class and print it in "control list". 开发者_如何学PythonHow do I pass the deque by reference to the dialog class?
You can extend the constructor of your dialog and pass it as reference to your deque, if I understand your question correctly.
精彩评论