Dialog Bars/Tool Bars
Posted on 1998-08-10
I created a Dialog Bar Control with the dialog editor.
It contains 3 edit boxes that are to contain integer
values. The values are obtained from the document.
I have no problem creating the Dlg Bar in the MainFrame
and displaying it the way I want to.
The problem is in displaying the values. I gave the edit
boxes member variables, then obtained a pointer to
the frame and in turn accessed the variables of the
dialog bar ( I thought) this didn't work. I get a compile
error that says that my variable is not a member of
CDialogBar. I am also going to need to be able to set
the variables in the same Dialog Bar. Obviously what
I am doing is incorrect. So my question is :
How can I access variables attached to the controls on
a Dialog Bar that is created on the MainFrame?