TreeView1 TreeView에서포커스를잃어도선택된거보이게 BOOL CMyTreeView::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUCT cs cs.style|=TVS_HASLINES|TVS_LINESATROOT|TVS_HASBUTTONS|TVS_EDITLABELS; cs.style|=TVS_SHOWSELALWAYS; return CTreeView::PreCreateWindow(cs); } CTreeCtrl::Create BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID ); Return Value Nonzero if in.. 2020. 1. 8. 이전 1 다음