Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DXSDK 9 (Summer2004) and Visual C++ 6 issue Pin
Jörgen Sigvardsson4-Sep-04 1:50
Jörgen Sigvardsson4-Sep-04 1:50 
GeneralRe: DXSDK 9 (Summer2004) and Visual C++ 6 issue Pin
tareqsiraj4-Sep-04 2:42
tareqsiraj4-Sep-04 2:42 
GeneralRe: DXSDK 9 (Summer2004) and Visual C++ 6 issue Pin
Jörgen Sigvardsson4-Sep-04 4:36
Jörgen Sigvardsson4-Sep-04 4:36 
GeneralDestructo rin DLL Pin
GGConsulting3-Sep-04 22:14
GGConsulting3-Sep-04 22:14 
GeneralRe: Destructo rin DLL Pin
Anonymous4-Sep-04 8:15
Anonymous4-Sep-04 8:15 
GeneralGradient Masks Pin
bmw50023-Sep-04 22:10
bmw50023-Sep-04 22:10 
QuestionHow to write synchronized audio and video Pin
imranlodhi3-Sep-04 20:50
imranlodhi3-Sep-04 20:50 
GeneralChange filename case Pin
alex.barylski3-Sep-04 20:39
alex.barylski3-Sep-04 20:39 
What changes do I have to make to the following code inorder to use the shell to change the case of selected file(s)???

//SHFILEOPSTRUCT shFileOp;
// initialize shell file structure
shFileOp.fFlags = FOF_ALLOWUNDO;
shFileOp.wFunc = FO_RENAME;

shFileOp.lpszProgressTitle = "Test";
shFileOp.fAnyOperationsAborted = FALSE;

shFileOp.pFrom = csFile;
shFileOp.pTo = csFile1.makeLower();

shFileOp.hwnd = NULL; // Use desktop

SHFileOperation(&shFileOp);


Would this function not be working correctly because I haven't double null terminated the pFrom and pTo???

Why wouldn't it it cause an exception I wonder??? Confused | :confused:

Anyways...there are window handles so I assign NULL...any progress dialog should now use the desktop correct???

BTW - this is in ATL, so i'm not actually using CString, but i'm considering using[^]

I don't want to use any pre-made classes either, i'd like to figure out what goign wrong and do it myself...

Thanks Smile | :)


How do I print my voice mail?
GeneralRe: Change filename case Pin
alex.barylski3-Sep-04 20:41
alex.barylski3-Sep-04 20:41 
GeneralRe: Change filename case Pin
David Crow4-Sep-04 17:22
David Crow4-Sep-04 17:22 
GeneralWaitable Timers Pin
bmw50023-Sep-04 20:06
bmw50023-Sep-04 20:06 
GeneralDataGrid Control problem Pin
Imtiaz Murtaza3-Sep-04 20:04
Imtiaz Murtaza3-Sep-04 20:04 
GeneralAlgorithm for CTime in CTimeSpan Pin
anderslundsgard3-Sep-04 19:59
anderslundsgard3-Sep-04 19:59 
GeneralRe: Algorithm for CTime in CTimeSpan Pin
Ravi Bhavnani3-Sep-04 20:18
professionalRavi Bhavnani3-Sep-04 20:18 
GeneralRe: Algorithm for CTime in CTimeSpan Pin
Jörgen Sigvardsson4-Sep-04 1:54
Jörgen Sigvardsson4-Sep-04 1:54 
GeneralRe: Algorithm for CTime in CTimeSpan Pin
anderslundsgard5-Sep-04 23:31
anderslundsgard5-Sep-04 23:31 
GeneralAlt+Tab, Application Icon Hidding Pin
swarup3-Sep-04 18:18
swarup3-Sep-04 18:18 
GeneralScrollView problem Pin
coolecho3-Sep-04 18:04
coolecho3-Sep-04 18:04 
GeneralCListCtrl sorting issue... Pin
IQ03-Sep-04 13:45
IQ03-Sep-04 13:45 
GeneralVisual C++ Express 2005 Pin
holland3-Sep-04 10:55
holland3-Sep-04 10:55 
GeneralRe: Visual C++ Express 2005 Pin
Jörgen Sigvardsson4-Sep-04 11:15
Jörgen Sigvardsson4-Sep-04 11:15 
GeneralProcess Information Pin
Ivan Cachicatari3-Sep-04 10:37
Ivan Cachicatari3-Sep-04 10:37 
GeneralRe: Process Information Pin
lesnikowski3-Sep-04 10:52
lesnikowski3-Sep-04 10:52 
GeneralVideo & audio Pin
Andre Massada3-Sep-04 8:56
Andre Massada3-Sep-04 8:56 
GeneralRe: Video & audio Pin
TheBlindWatchmaker3-Sep-04 10:27
TheBlindWatchmaker3-Sep-04 10:27 

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.