Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSVG in MFC app Pin
Andre xxxxxxx29-Aug-06 2:04
Andre xxxxxxx29-Aug-06 2:04 
AnswerRe: SVG in MFC app Pin
benjymous29-Aug-06 2:42
benjymous29-Aug-06 2:42 
GeneralRe: SVG in MFC app Pin
Andre xxxxxxx29-Aug-06 2:53
Andre xxxxxxx29-Aug-06 2:53 
QuestionBrowse dialog box Pin
Aryan S29-Aug-06 2:04
Aryan S29-Aug-06 2:04 
AnswerRe: Browse dialog box [modified] Pin
_AnsHUMAN_ 29-Aug-06 2:07
_AnsHUMAN_ 29-Aug-06 2:07 
AnswerRe: Browse dialog box Pin
prasad_som29-Aug-06 2:12
prasad_som29-Aug-06 2:12 
AnswerRe: Browse dialog box Pin
Hamid_RT29-Aug-06 2:14
Hamid_RT29-Aug-06 2:14 
AnswerRe: Browse dialog box Pin
Nibu babu thomas29-Aug-06 3:38
Nibu babu thomas29-Aug-06 3:38 
Here is function that displays browse for folder dialog...

bool CDlg::GetFolder( CString& csFolderName_o )
{
    try
    {
        // Prepare a browser
        BROWSEINFO stBrowseInfo = { 0 };
        stBrowseInfo.hwndOwner  = GetSafeHwnd();
        stBrowseInfo.lpszTitle  = _T( "Select a folder..." );
        
        // Display the windows std Browse for folder dialog.
        LPITEMIDLIST lpItemIDList = SHBrowseForFolder( &stBrowseInfo );
        if( 0 == lpItemIDList )
        {
            return false;
        }

        // Get folder path
        TCHAR szFolderName[MAX_PATH];
        if( FALSE == SHGetPathFromIDList( lpItemIDList, szFolderName ))
        {
            return false;
        }
        
        csFolderName_o = szFolderName;

        return true;
    }
    catch( ... )
    {
        return false;
    }
}



Nibu thomas
A Developer

Programming tips[^]  My site[^]

QuestionMy MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Arul Joseph29-Aug-06 1:51
Arul Joseph29-Aug-06 1:51 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Hamid_RT29-Aug-06 1:57
Hamid_RT29-Aug-06 1:57 
GeneralRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Arul Joseph29-Aug-06 2:01
Arul Joseph29-Aug-06 2:01 
GeneralRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Arul Joseph29-Aug-06 2:02
Arul Joseph29-Aug-06 2:02 
GeneralRe: My MFC Application Takes 100% of CPU? Pin
Hamid_RT29-Aug-06 2:10
Hamid_RT29-Aug-06 2:10 
QuestionRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
David Crow29-Aug-06 3:55
David Crow29-Aug-06 3:55 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Nibu babu thomas29-Aug-06 3:21
Nibu babu thomas29-Aug-06 3:21 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
Marc Soleda29-Aug-06 3:33
Marc Soleda29-Aug-06 3:33 
AnswerRe: My MFC Application Takes 100% of CPU that i viewed from the TASK MANAGER.What is the Reason the Application Takes 100 % of the CPU? Pin
normanS30-Aug-06 1:02
normanS30-Aug-06 1:02 
QuestionDisable / Hide a list control Pin
RajiRaghu29-Aug-06 1:41
RajiRaghu29-Aug-06 1:41 
AnswerRe: Disable / Hide a list control Pin
Hamid_RT29-Aug-06 1:50
Hamid_RT29-Aug-06 1:50 
AnswerRe: Disable / Hide a list control Pin
Nibu babu thomas29-Aug-06 3:27
Nibu babu thomas29-Aug-06 3:27 
QuestionHave a problem with CFileDialog [modified] Pin
m1m229-Aug-06 1:11
m1m229-Aug-06 1:11 
AnswerRe: Have a problem with CFileDialog Pin
Rage29-Aug-06 1:34
professionalRage29-Aug-06 1:34 
AnswerRe: Have a problem with CFileDialog Pin
m1m229-Aug-06 3:17
m1m229-Aug-06 3:17 
AnswerRe: Have a problem with CFileDialog Pin
David Crow29-Aug-06 3:52
David Crow29-Aug-06 3:52 
Questionhow to multiply mx n matrix to nx1 matrix Pin
raj_2nice4u29-Aug-06 0:53
raj_2nice4u29-Aug-06 0:53 

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.