Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem in call Bitmap::FromFile Gdi function Pin
Member 417071117-Jul-09 4:12
Member 417071117-Jul-09 4:12 
QuestionCRect Pin
kumar sanghvi17-Jul-09 3:35
kumar sanghvi17-Jul-09 3:35 
AnswerRe: CRect Pin
Iain Clarke, Warrior Programmer17-Jul-09 3:37
Iain Clarke, Warrior Programmer17-Jul-09 3:37 
QuestionConversion from Cstring to LPSTR Pin
Pardhu_M17-Jul-09 3:18
Pardhu_M17-Jul-09 3:18 
AnswerRe: Conversion from Cstring to LPSTR Pin
Cedric Moonen17-Jul-09 3:23
Cedric Moonen17-Jul-09 3:23 
GeneralRe: Conversion from Cstring to LPSTR Pin
Rajesh R Subramanian17-Jul-09 3:39
professionalRajesh R Subramanian17-Jul-09 3:39 
GeneralRe: Conversion from Cstring to LPSTR Pin
ThatsAlok18-Jul-09 7:45
ThatsAlok18-Jul-09 7:45 
AnswerRe: Conversion from Cstring to LPSTR Pin
Nemanja Trifunovic17-Jul-09 3:42
Nemanja Trifunovic17-Jul-09 3:42 
I bet the content of CString is Unicode, and LPSTR is a multibyte string.

Try casting to LPTSTR instead.

Even better, if you don't support Win98 and older versions, just drop this "T" stuff and always use wide strings instead.


QuestionHow to disable CDockablePane context menu? Pin
eight17-Jul-09 1:37
eight17-Jul-09 1:37 
AnswerRe: How to disable CDockablePane context menu? Pin
Randor 17-Jul-09 2:26
professional Randor 17-Jul-09 2:26 
GeneralRe: How to disable CDockablePane context menu? Pin
eight19-Jul-09 17:02
eight19-Jul-09 17:02 
GeneralRe: How to disable CDockablePane context menu? Pin
eight19-Jul-09 17:54
eight19-Jul-09 17:54 
AnswerRe: How to disable CDockablePane context menu? Pin
severin09-Oct-09 8:17
severin09-Oct-09 8:17 
QuestionPragma pack, pointer, 32 vs 64 bits build Pin
Kochise17-Jul-09 0:55
Kochise17-Jul-09 0:55 
AnswerRe: Pragma pack, pointer, 32 vs 64 bits build [modified] Pin
Kochise17-Jul-09 1:17
Kochise17-Jul-09 1:17 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Randor 17-Jul-09 1:54
professional Randor 17-Jul-09 1:54 
AnswerRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Stuart Dootson17-Jul-09 1:50
professionalStuart Dootson17-Jul-09 1:50 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build [modified] Pin
Kochise17-Jul-09 5:44
Kochise17-Jul-09 5:44 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Stuart Dootson17-Jul-09 13:05
professionalStuart Dootson17-Jul-09 13:05 
AnswerRe: Pragma pack, pointer, 32 vs 64 bits build Pin
cmk17-Jul-09 8:54
cmk17-Jul-09 8:54 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
Kochise17-Jul-09 10:32
Kochise17-Jul-09 10:32 
GeneralRe: Pragma pack, pointer, 32 vs 64 bits build Pin
cmk17-Jul-09 11:43
cmk17-Jul-09 11:43 
QuestionBHO IE7 problem when protected mode is ON? Pin
svt gdwl17-Jul-09 0:16
svt gdwl17-Jul-09 0:16 
AnswerRe: BHO IE7 problem when protected mode is ON? Pin
Michael Schubert17-Jul-09 0:51
Michael Schubert17-Jul-09 0:51 
GeneralRe: BHO IE7 problem when protected mode is ON? Pin
ThatsAlok18-Jul-09 7:45
ThatsAlok18-Jul-09 7:45 

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.