Click here to Skip to main content
16,006,768 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: toolbar and hyperlinks Pin
Erik Thompson5-Sep-01 10:45
sitebuilderErik Thompson5-Sep-01 10:45 
GeneralText color in a CRichEditCtrl Pin
5-Sep-01 4:00
suss5-Sep-01 4:00 
GeneralRe: Text color in a CRichEditCtrl Pin
billb21125-Sep-01 7:15
billb21125-Sep-01 7:15 
QuestionHow to get all machine's MAC Address at Winnt LAN? Pin
5-Sep-01 3:51
suss5-Sep-01 3:51 
AnswerRe: How to get all machine's MAC Address at Winnt LAN? Pin
5-Sep-01 6:25
suss5-Sep-01 6:25 
QuestionWhat's wrong with this code? Pin
5-Sep-01 3:20
suss5-Sep-01 3:20 
AnswerRe: What's wrong with this code? Pin
5-Sep-01 3:42
suss5-Sep-01 3:42 
AnswerRe: What's wrong with this code? Pin
13-Dec-01 4:12
suss13-Dec-01 4:12 
Try to give some buffer for paths, it better for OFN_ALLOWMULTISELECT style.
Try! It long time when I did it last time.
Good luck.
For example like this:

CFileDialog selfiles(TRUE,"mp3","*.mp3",OFN_ALLOWMULTISELECT |
OFN_ENABLESIZING,"mp3 Files (*.mp3) | *.mp3 ||",NULL);
TCHAR* buffer;
buffer = new TCHAR[1024*5];
selfiles.m_ofn.nMaxFile = 1024*5;
selfiles.m_ofn.lpstrFile = buffer;
CStringArray array;
if(selfiles.DoModal() == IDOK)
{
POSITION pos=selfiles.GetStartPosition();
int counter=0;
while(pos)
{
CString file = selfiles.GetNextPathName(pos); array.Add(file);
counter++;
}
UpdateData(FALSE);
}
delete []buffer;

Viliam Dolinay
GeneralDisabling ALT-TAB ... Pin
Hadi Rezaee5-Sep-01 3:19
Hadi Rezaee5-Sep-01 3:19 
GeneralRe: Disabling ALT-TAB ... Pin
Tim Deveaux5-Sep-01 10:57
Tim Deveaux5-Sep-01 10:57 
GeneralRe: Disabling ALT-TAB ... Pin
Hadi Rezaee5-Sep-01 17:45
Hadi Rezaee5-Sep-01 17:45 
GeneralRe: Disabling ALT-TAB ... Pin
Mike Nordell7-Sep-01 11:15
Mike Nordell7-Sep-01 11:15 
GeneralRe: Disabling ALT-TAB ... Pin
Digitalshad0w1-Oct-01 12:24
Digitalshad0w1-Oct-01 12:24 
GeneralPrinting Pin
5-Sep-01 3:03
suss5-Sep-01 3:03 
QuestionDetecting Windows 'big fonts'? Pin
José Luis Sogorb5-Sep-01 1:27
José Luis Sogorb5-Sep-01 1:27 
AnswerRe: Detecting Windows 'big fonts'? Pin
5-Sep-01 1:50
suss5-Sep-01 1:50 
AnswerRe: Detecting Windows 'big fonts'? Pin
Tomasz Sowinski5-Sep-01 2:15
Tomasz Sowinski5-Sep-01 2:15 
GeneralUser breakpoint called from code at 0x... Pin
5-Sep-01 0:19
suss5-Sep-01 0:19 
GeneralRe: User breakpoint called from code at 0x... Pin
Tomasz Sowinski5-Sep-01 2:28
Tomasz Sowinski5-Sep-01 2:28 
GeneralExtract .EXE(or DLL) file's Icons & other Resources Pin
Ghasrfakhri5-Sep-01 0:12
Ghasrfakhri5-Sep-01 0:12 
GeneralRe: Extract .EXE(or DLL) file's Icons & other Resources Pin
Paul C5-Sep-01 1:25
Paul C5-Sep-01 1:25 
GeneralFind System's Drives And Drives Type Pin
Ghasrfakhri5-Sep-01 0:10
Ghasrfakhri5-Sep-01 0:10 
GeneralRe: Find System's Drives And Drives Type Pin
Paolo Messina5-Sep-01 0:25
professionalPaolo Messina5-Sep-01 0:25 
GeneralRe: Find System's Drives And Drives Type Pin
ORi x5-Sep-01 0:59
ORi x5-Sep-01 0:59 
GeneralRe: Find System's Drives And Drives Type Pin
Mike Nordell7-Sep-01 11:21
Mike Nordell7-Sep-01 11:21 

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.