# define IDC_TREE1 1009
In the file XXX. In the rc:
IDD_Menu12 DIALOGEX 0, 0, 316, 182,
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "HHHH
"The FONT 8, "MS Shell Dlg", 400, 0, 0 x1
The BEGIN
DEFPUSHBUTTON "sure," IDOK, 205161,50,14
PUSHBUTTON "cancel", IDCANCEL, 259161,50,14
CONTROL ", "IDC_TREE1," SysTreeView32 WS_BORDER | WS_HSCROLL | WS_TABSTOP, 35,97,117,56
END
Q:
1. How to put the folder structure assignment and display in the window?
2. How to select the file name to assign values to the TCHAR FileName in the [128]?
Thank you
CodePudding user response:
MFC CTreeCtrl tree controls display file path and fileCodePudding user response:
Thank you, find a time to learn MFCCodePudding user response:
Don't use MFC, how to do?