Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pointer to RichEditCtrl

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I place a RichEditCtrl in my dialog-based application. I need to read data from file to this RichEditCtrl using StreamIn.

However, to do this, I need to get a pointer to the RichEditCtrl so as to call the StreamIn method. How can I get the pointer to my RichEditCtrl box?

Thanks.
 
use GetDlgItem( ID_RICHEDIT);(assume ID_RICHEDIT is the ID of your rich edit control).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top