Communicating with a Tree Control
You use different methods for calling member functions in a CTreeCtrl object depending on how the object was created:
If the tree control is in a dialog box, use a member variable of type
CTreeCtrl
that you create in the dialog box class.If the tree control is a child window, use the
CTreeCtrl
object (or pointer) you used to construct the object.If you're using a
CTreeView
object, use the function CTreeView::GetTreeCtrl to get a reference to the tree control. You can initialize another reference with this value or assign the address of the reference to aCTreeCtrl
pointer.
See also
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ