开发者

How to pass object to MFC dialog

开发者 https://www.devze.com 2023-02-20 06:19 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消