Click here to Skip to main content
15,911,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Utf-8 in C++/C Pin
CPallini12-Mar-12 1:28
mveCPallini12-Mar-12 1:28 
AnswerRe: Utf-8 in C++/C Pin
PJ Arends12-Mar-12 16:03
professionalPJ Arends12-Mar-12 16:03 
QuestionRe: Utf-8 in C++/C Pin
jojoba201113-Mar-12 4:13
jojoba201113-Mar-12 4:13 
AnswerRe: Utf-8 in C++/C Pin
PJ Arends13-Mar-12 5:28
professionalPJ Arends13-Mar-12 5:28 
QuestionHelp Please !!!!!!!!!!! Pin
jojoba201113-Mar-12 4:16
jojoba201113-Mar-12 4:16 
Questionusing mfc dll in c# Pin
VCProgrammer11-Mar-12 21:33
VCProgrammer11-Mar-12 21:33 
AnswerRe: using mfc dll in c# Pin
Chandrasekharan P11-Mar-12 21:43
Chandrasekharan P11-Mar-12 21:43 
QuestionProblem with view Pin
john56329-Mar-12 21:06
john56329-Mar-12 21:06 
I created a view and on a button click of that view I am opening a folder dialog.
When I Destroy that view using Back button, control does not come back from DestroyWindow() function.

If I dont click "folder dialog open button" it s working fine.
code is here:

CString CRecoverFoundFileDlg::GetDestinationPath()
{
	CString szPath;

	BROWSEINFO bi = { 0 };
    TCHAR path[MAX_PATH];
    bi.lpszTitle = _T("directory");
    bi.pszDisplayName = path;
    LPITEMIDLIST pidl = SHBrowseForFolder ( &bi );
    if ( pidl != 0 )
    {
        // get the name of the folder
       // _tprintf ( _T("Selected Item: %s\n"), path );
		szPath= path;
        // free memory used
        IMalloc * imalloc = 0;
        if ( SUCCEEDED( SHGetMalloc ( &imalloc )) )
        {
            imalloc->Free ( pidl );
            imalloc->Release ( );
        }
    }

	return szPath;
}

QuestionRe: Problem with view Pin
Randor 10-Mar-12 3:42
professional Randor 10-Mar-12 3:42 
QuestionRe: Problem with view Pin
David Crow11-Mar-12 16:39
David Crow11-Mar-12 16:39 
QuestionBackground color: dialog box vs. property page Pin
David Crow9-Mar-12 5:33
David Crow9-Mar-12 5:33 
AnswerRe: Background color: dialog box vs. property page Pin
Richard Andrew x649-Mar-12 5:50
professionalRichard Andrew x649-Mar-12 5:50 
GeneralRe: Background color: dialog box vs. property page Pin
David Crow9-Mar-12 6:00
David Crow9-Mar-12 6:00 
AnswerRe: Background color: dialog box vs. property page Pin
Richard MacCutchan9-Mar-12 20:55
mveRichard MacCutchan9-Mar-12 20:55 
GeneralRe: Background color: dialog box vs. property page Pin
David Crow11-Mar-12 11:13
David Crow11-Mar-12 11:13 
GeneralRe: Background color: dialog box vs. property page Pin
Richard MacCutchan11-Mar-12 22:23
mveRichard MacCutchan11-Mar-12 22:23 
AnswerRe: Background color: dialog box vs. property page Pin
Randor 10-Mar-12 3:27
professional Randor 10-Mar-12 3:27 
QuestionStrange "resource editor" issue Pin
David Crow8-Mar-12 10:13
David Crow8-Mar-12 10:13 
AnswerRe: Strange "resource editor" issue Pin
Maximilien8-Mar-12 10:33
Maximilien8-Mar-12 10:33 
GeneralRe: Strange "resource editor" issue Pin
David Crow8-Mar-12 10:58
David Crow8-Mar-12 10:58 
AnswerRe: Strange "resource editor" issue Pin
Richard MacCutchan8-Mar-12 21:27
mveRichard MacCutchan8-Mar-12 21:27 
GeneralRe: Strange "resource editor" issue Pin
David Crow9-Mar-12 2:29
David Crow9-Mar-12 2:29 
GeneralRe: Strange "resource editor" issue Pin
Maximilien9-Mar-12 2:47
Maximilien9-Mar-12 2:47 
GeneralRe: Strange "resource editor" issue Pin
Randor 9-Mar-12 3:15
professional Randor 9-Mar-12 3:15 
GeneralRe: Strange "resource editor" issue Pin
David Crow9-Mar-12 3:26
David Crow9-Mar-12 3:26 

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.