Click here to Skip to main content
16,008,954 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CAD geomtrry Pin
Cedric Moonen10-Apr-06 20:39
Cedric Moonen10-Apr-06 20:39 
GeneralRe: CAD geomtrry Pin
Hamid_RT10-Apr-06 20:52
Hamid_RT10-Apr-06 20:52 
AnswerRe: CAD geomtrry Pin
jmonaco10-Apr-06 20:40
jmonaco10-Apr-06 20:40 
Questionhow to select a required directory Pin
keerthikaaa10-Apr-06 19:54
keerthikaaa10-Apr-06 19:54 
AnswerRe: how to select a required directory Pin
parichaybp10-Apr-06 19:59
parichaybp10-Apr-06 19:59 
GeneralRe: how to select a required directory Pin
Hamid_RT10-Apr-06 20:25
Hamid_RT10-Apr-06 20:25 
AnswerRe: how to select a required directory Pin
Ryan Binns10-Apr-06 20:13
Ryan Binns10-Apr-06 20:13 
AnswerRe: how to select a required directory Pin
Hamid_RT10-Apr-06 20:23
Hamid_RT10-Apr-06 20:23 
Hi keerthikaaa,
maybe it is some helpful to you

CFileDialog m_dlg(1);
m_dlg.DoModal();
GetDlgItem(IDC_EDIT1)->SetWindowText(m_dlg.GetPathName());



-- modified at 2:35 Tuesday 11th April, 2006

BROWSEINFO bi;
TCHAR m_DisplayName[MAX_PATH];
m_DisplayName[0]='\0';
memset(&bi, 0x00, sizeof(bi));
bi.hwndOwner = this->m_hWnd;
bi.pszDisplayName = m_DisplayName;

bi.ulFlags = BIF_EDITBOX;
LPITEMIDLIST pidl = SHBrowseForFolder(&bi);
if (pidl)
SHGetPathFromIDList(pidl, m_DisplayName);

GetDlgItem(IDC_EDIT1)->SetWindowText(m_DisplayName);
GeneralRe: how to select a required directory Pin
keerthikaaa12-Apr-06 23:58
keerthikaaa12-Apr-06 23:58 
AnswerRe: how to select a required directory Pin
Ștefan-Mihai MOGA10-Apr-06 21:07
professionalȘtefan-Mihai MOGA10-Apr-06 21:07 
QuestionRe: how to select a required directory Pin
keerthikaaa11-Apr-06 1:41
keerthikaaa11-Apr-06 1:41 
AnswerRe: how to select a required directory Pin
Ryan Binns11-Apr-06 2:21
Ryan Binns11-Apr-06 2:21 
QuestionOut look pst Pin
Naveen10-Apr-06 19:43
Naveen10-Apr-06 19:43 
AnswerRe: Out look pst Pin
Ștefan-Mihai MOGA10-Apr-06 21:15
professionalȘtefan-Mihai MOGA10-Apr-06 21:15 
QuestionHow to get the Close button object ? Pin
Sarvan AL10-Apr-06 19:42
Sarvan AL10-Apr-06 19:42 
AnswerRe: How to get the Close button object ? Pin
thatsme_cool10-Apr-06 19:46
thatsme_cool10-Apr-06 19:46 
AnswerRe: How to get the Close button object ? Pin
Ryan Binns10-Apr-06 20:12
Ryan Binns10-Apr-06 20:12 
AnswerRe: How to get the Close button object ? Pin
_AnsHUMAN_ 10-Apr-06 20:34
_AnsHUMAN_ 10-Apr-06 20:34 
GeneralRe: How to get the Close button object ? Pin
Sarvan AL10-Apr-06 21:11
Sarvan AL10-Apr-06 21:11 
GeneralRe: How to get the Close button object ? Pin
Ryan Binns11-Apr-06 0:13
Ryan Binns11-Apr-06 0:13 
Questiondecryption of file Pin
code6610-Apr-06 19:31
code6610-Apr-06 19:31 
AnswerRe: decryption of file Pin
thatsme_cool10-Apr-06 19:41
thatsme_cool10-Apr-06 19:41 
GeneralRe: decryption of file Pin
thatsme_cool10-Apr-06 19:43
thatsme_cool10-Apr-06 19:43 
GeneralRe: decryption of file Pin
code6610-Apr-06 23:31
code6610-Apr-06 23:31 
QuestionDoModal error Pin
parichaybp10-Apr-06 19:15
parichaybp10-Apr-06 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.