Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: mouse click Pin
Nibu babu thomas20-Sep-06 20:28
Nibu babu thomas20-Sep-06 20:28 
QuestionConverting : String to Unicode Pin
Mohammad Rastkar20-Sep-06 19:46
Mohammad Rastkar20-Sep-06 19:46 
AnswerRe: Converting : String to Unicode Pin
Nibu babu thomas20-Sep-06 19:51
Nibu babu thomas20-Sep-06 19:51 
QuestionNice answer, But ... Pin
Mohammad Rastkar20-Sep-06 20:21
Mohammad Rastkar20-Sep-06 20:21 
AnswerRe: Nice answer But ... Pin
Nibu babu thomas20-Sep-06 20:21
Nibu babu thomas20-Sep-06 20:21 
AnswerRe: Converting : String to Unicode Pin
Christian Graus20-Sep-06 20:25
protectorChristian Graus20-Sep-06 20:25 
GeneralRe: Converting : String to Unicode Pin
Nibu babu thomas20-Sep-06 20:33
Nibu babu thomas20-Sep-06 20:33 
AnswerRe: Converting : String to Unicode Pin
Haroon Sarwar20-Sep-06 20:32
Haroon Sarwar20-Sep-06 20:32 
As far as I know adding an L infront of a quoted string is the only way of letting MSVC know it's supposed to be a wide char string...so i guess you'll have to add the L's or enclose with_T()'s

why dont you use the find and replace option in Visual Studio...using regular expressions you can replace all quoted string with their _T counter parts....

ie. Ctrl+H(replace dlg),
in Find what field enter: :q for VS .Net, \:q for VC6
in Replace with field enter: _T(\0)

ofcourse this means that all quoted strings found in the search domain will be enclosed with _T(), so you should be carfeful you don't apply this on resource files or manifest files etc....

another side affect would be that #include "File.h" will become #include _T("File.h")...you can remove those _T's yourself, or you can write another regular expression to remove _Ts form include files if they are too many...
QuestionRestirct resizing at run time..... Pin
kiranin20-Sep-06 19:38
kiranin20-Sep-06 19:38 
AnswerRe: Restirct resizing at run time..... Pin
Nibu babu thomas20-Sep-06 19:42
Nibu babu thomas20-Sep-06 19:42 
GeneralRe: Restirct resizing at run time..... Pin
kiranin20-Sep-06 20:05
kiranin20-Sep-06 20:05 
GeneralRe: Restirct resizing at run time..... Pin
Nibu babu thomas20-Sep-06 20:14
Nibu babu thomas20-Sep-06 20:14 
GeneralRe: Restirct resizing at run time..... Pin
kiranin20-Sep-06 20:54
kiranin20-Sep-06 20:54 
Questionproblem with txt file [modified] Pin
With_problem20-Sep-06 19:02
With_problem20-Sep-06 19:02 
AnswerRe: problem with txt file Pin
David Crow21-Sep-06 3:52
David Crow21-Sep-06 3:52 
QuestionHow can i know ( in MFC ) that some dialog window is open now ? Pin
Yanshof20-Sep-06 18:54
Yanshof20-Sep-06 18:54 
AnswerRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
Naveen20-Sep-06 18:56
Naveen20-Sep-06 18:56 
AnswerRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
Rinu_Raj20-Sep-06 18:59
Rinu_Raj20-Sep-06 18:59 
AnswerRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
Nibu babu thomas20-Sep-06 19:49
Nibu babu thomas20-Sep-06 19:49 
QuestionRe: How can i know ( in MFC ) that some dialog window is open now ? Pin
David Crow21-Sep-06 3:55
David Crow21-Sep-06 3:55 
Questioninp( ) and outp( ) functions Pin
vijay_aroli20-Sep-06 18:31
vijay_aroli20-Sep-06 18:31 
AnswerRe: inp( ) and outp( ) functions Pin
Mohammad Rastkar20-Sep-06 18:39
Mohammad Rastkar20-Sep-06 18:39 
GeneralRe: inp( ) and outp( ) functions Pin
vijay_aroli20-Sep-06 18:47
vijay_aroli20-Sep-06 18:47 
AnswerRe: inp( ) and outp( ) functions Pin
Mohammad Rastkar20-Sep-06 19:09
Mohammad Rastkar20-Sep-06 19:09 
GeneralRe: inp( ) and outp( ) functions Pin
David Crow21-Sep-06 4:00
David Crow21-Sep-06 4:00 

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.