Accessing CEdit in CDialogBar
Posted on 1999-01-29
I am having problems getting and setting text to edit controls in a dialog bar.
I have a CDialogBar with a few edit controls in the dialog resource. In my CMainFrame class I have declared public CEdit member variables for these controls , and I invoke their Create() method in CMainFrame::OnCreate(), with the dialog bar class as the parent window and the appropriate resource ID from the dialog resource.
How do I get/set text to these edit controls ? SetWindowText() does not appear to be working. Do I need to subclass ? If so, what window do I subclass ?