Click here to Skip to main content
15,922,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: MFC CfileDialog Pin
Manjunath S21-Jun-06 7:20
Manjunath S21-Jun-06 7:20 
AnswerRe: MFC CfileDialog Pin
led mike21-Jun-06 7:33
led mike21-Jun-06 7:33 
GeneralRe: MFC CfileDialog Pin
Manjunath S21-Jun-06 7:42
Manjunath S21-Jun-06 7:42 
QuestionRe: MFC CfileDialog Pin
David Crow21-Jun-06 7:37
David Crow21-Jun-06 7:37 
QuestionRe: MFC CfileDialog Pin
Manjunath S21-Jun-06 7:47
Manjunath S21-Jun-06 7:47 
AnswerRe: MFC CfileDialog Pin
Justin Tay21-Jun-06 7:53
Justin Tay21-Jun-06 7:53 
AnswerRe: MFC CfileDialog Pin
David Crow21-Jun-06 7:58
David Crow21-Jun-06 7:58 
AnswerRe: MFC CfileDialog Pin
Zac Howland21-Jun-06 8:52
Zac Howland21-Jun-06 8:52 
Just an FYI since I don't think these issues are causing this problem (at least not directly) ...

1)
Manjunath S wrote:
Sleep(50);


Chances are very high that if you are calling Sleep, something is wrong with your design. This is almost always the case when done in GUI code (as is the case here).

2)
Manjunath S wrote:
filepath2 = (char *) (LPCTSTR) l_strFileName;


LPCTSTR is defined as (const TCHAR*). Aside from the fact that the cast above won't work properly in a UNICODE build, it isn't want you want anyway. You aren't showing what you use filepath2 for, but I'm guessing you will either want it as a CString itself, a List/Array of CStrings, or don't need it at all.



If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
QuestionRe: MFC CfileDialog Pin
Manjunath S21-Jun-06 19:48
Manjunath S21-Jun-06 19:48 
AnswerRe: MFC CfileDialog Pin
Zac Howland22-Jun-06 3:35
Zac Howland22-Jun-06 3:35 
QuestionRe: MFC CfileDialog Pin
Hamid_RT21-Jun-06 19:22
Hamid_RT21-Jun-06 19:22 
QuestionSetting language used for menus/dialogs (UI language) Pin
fourierman21-Jun-06 6:33
fourierman21-Jun-06 6:33 
QuestionSDI MFC APP -- Change title Pin
tingu21-Jun-06 6:00
tingu21-Jun-06 6:00 
AnswerRe: SDI MFC APP -- Change title Pin
led mike21-Jun-06 6:34
led mike21-Jun-06 6:34 
AnswerRe: SDI MFC APP -- Change title Pin
James R. Twine21-Jun-06 6:38
James R. Twine21-Jun-06 6:38 
QuestionHow to select tabs from the menu bar? Pin
Ashutosh Bagaria21-Jun-06 5:53
Ashutosh Bagaria21-Jun-06 5:53 
QuestionCTypedPtrArray and CTypedPtrMap [modified] Pin
bob1697221-Jun-06 5:34
bob1697221-Jun-06 5:34 
AnswerRe: CTypedPtrArray and CTypedPtrMap Pin
bob1697221-Jun-06 7:17
bob1697221-Jun-06 7:17 
QuestionList of network interface Pin
fabiotriolo21-Jun-06 5:30
fabiotriolo21-Jun-06 5:30 
AnswerRe: List of network interface Pin
lordxx21-Jun-06 5:37
lordxx21-Jun-06 5:37 
AnswerRe: List of network interface Pin
David Crow21-Jun-06 5:46
David Crow21-Jun-06 5:46 
Questionerror LNK2001 & error LNK1120 with GUIDs Pin
kitty521-Jun-06 4:56
kitty521-Jun-06 4:56 
AnswerRe: error LNK2001 & error LNK1120 with GUIDs [modified] Pin
Viorel.21-Jun-06 5:06
Viorel.21-Jun-06 5:06 
QuestionPorting code to PPC WinCE Pin
Mike Doner21-Jun-06 4:50
Mike Doner21-Jun-06 4:50 
QuestionDebug vs. Release Build Pin
Bob X21-Jun-06 4:34
Bob X21-Jun-06 4:34 

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.