Click here to Skip to main content
15,905,867 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfatal errpr LNK1104: cannot open file "ipl.lib" Pin
hierro10-Jan-02 1:24
hierro10-Jan-02 1:24 
GeneralRe: fatal errpr LNK1104: cannot open file "ipl.lib" Pin
Jon Hulatt10-Jan-02 2:06
Jon Hulatt10-Jan-02 2:06 
QuestionHow do I get the window to the top of the screen. Pin
VanHlebar10-Jan-02 1:19
VanHlebar10-Jan-02 1:19 
GeneralCPictureHolder and CImageList Pin
Paul Selormey10-Jan-02 0:44
Paul Selormey10-Jan-02 0:44 
GeneralA CFileDialog Question - selecting multiple files Pin
Dor9-Jan-02 23:58
Dor9-Jan-02 23:58 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
Fredrik Skog10-Jan-02 1:34
Fredrik Skog10-Jan-02 1:34 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
PJ Arends10-Jan-02 10:29
professionalPJ Arends10-Jan-02 10:29 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
Fredrik Skog10-Jan-02 20:56
Fredrik Skog10-Jan-02 20:56 
IMHO, it is easier to use the functions of CFileDialog to retrieve the files.
Then you don't have to worry about buffer sizes.

CString strFileName("");
POSITION pos;
CStringList* strlistFileNames;

CFileDialog FileDlg(
true, // File Open dialog.
"*", // Default file name extension.
NULL, // No initial filename.
OFN_HIDEREADONLY | OFN_ALLOWMULTISELECT,
m_strNameMask + " (" + m_strSuffixMask + ")" + "|" + m_strSuffixMask + "|All Files (*.*)|*.*||"
);

FileDlg.m_ofn.lpstrTitle = "Select files";

pos = FileDlg.GetStartPosition();
while (pos != NULL)
{
strlistFileNames->AddTail(FileDlg.GetNextPathName(pos));
}


Cheers,

/Fredrik

Do you Sonork? I do! 100.11430:PhatBoy

GeneralRe: A CFileDialog Question - selecting multiple files Pin
PJ Arends11-Jan-02 6:13
professionalPJ Arends11-Jan-02 6:13 
GeneralReload Icon when Explorer Crashes Pin
Jason Hooper9-Jan-02 23:30
Jason Hooper9-Jan-02 23:30 
GeneralRe: Reload Icon when Explorer Crashes Pin
Nish Nishant10-Jan-02 0:31
sitebuilderNish Nishant10-Jan-02 0:31 
GeneralRe: Reload Icon when Explorer Crashes Pin
Bill Leibold10-Jan-02 7:53
Bill Leibold10-Jan-02 7:53 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 8:47
James R. Twine10-Jan-02 8:47 
GeneralRe: Reload Icon when Explorer Crashes Pin
Jon Hulatt10-Jan-02 0:57
Jon Hulatt10-Jan-02 0:57 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 4:49
James R. Twine10-Jan-02 4:49 
GeneralRe: Reload Icon when Explorer Crashes Pin
Jason Hooper10-Jan-02 7:14
Jason Hooper10-Jan-02 7:14 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 8:13
James R. Twine10-Jan-02 8:13 
GeneralRe: Reload Icon when Explorer Crashes Pin
Michael Dunn10-Jan-02 7:48
sitebuilderMichael Dunn10-Jan-02 7:48 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 8:20
James R. Twine10-Jan-02 8:20 
Questionhow to use scrollbar? Pin
AnonymousBabe@usa.net9-Jan-02 22:51
AnonymousBabe@usa.net9-Jan-02 22:51 
GeneralProblem with XP graphical interface Pin
limax9-Jan-02 22:30
limax9-Jan-02 22:30 
GeneralStandard Conversions Pin
9-Jan-02 22:01
suss9-Jan-02 22:01 
GeneralRe: Standard Conversions Pin
Christian Graus9-Jan-02 23:26
protectorChristian Graus9-Jan-02 23:26 
GeneralRe: Standard Conversions Pin
Nish Nishant10-Jan-02 0:13
sitebuilderNish Nishant10-Jan-02 0:13 
GeneralRe: Standard Conversions Pin
10-Jan-02 21:32
suss10-Jan-02 21:32 

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.