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

C / C++ / MFC

 
GeneralRe: OnPaint() as opposed to OnDraw() Pin
David Crow19-Sep-03 8:30
David Crow19-Sep-03 8:30 
GeneralDropDown Combo box background color issue Pin
sanjay zore19-Sep-03 6:49
sanjay zore19-Sep-03 6:49 
GeneralCString to LPCTSTR Pin
johnnyXP19-Sep-03 6:42
johnnyXP19-Sep-03 6:42 
GeneralRe: CString to LPCTSTR Pin
Dominik Reichl19-Sep-03 6:52
Dominik Reichl19-Sep-03 6:52 
GeneralRe: CString to LPCTSTR Pin
Alvaro Mendez19-Sep-03 12:01
Alvaro Mendez19-Sep-03 12:01 
GeneralRe: CString to LPCTSTR Pin
User 665819-Sep-03 6:52
User 665819-Sep-03 6:52 
GeneralRe: CString to LPCTSTR Pin
Binayak19-Sep-03 9:59
Binayak19-Sep-03 9:59 
GeneralRe: CString to LPCTSTR Pin
Michael Dunn19-Sep-03 11:15
sitebuilderMichael Dunn19-Sep-03 11:15 
Binayak wrote:
char * myString = (char *) (LPCTSTR) (cstr)

No, that is wrong. Casting blindly without understanding the underlying strings leads to problems.


--Mike--
Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber
CP SearchBar v2.0.2 released
GeneralRe: CString to LPCTSTR Pin
Binayak19-Sep-03 11:53
Binayak19-Sep-03 11:53 
GeneralRe: CString to LPCTSTR Pin
Tim Smith19-Sep-03 12:16
Tim Smith19-Sep-03 12:16 
GeneralRe: CString to LPCTSTR Pin
Alvaro Mendez19-Sep-03 11:59
Alvaro Mendez19-Sep-03 11:59 
GeneralRe: CString to LPCTSTR Pin
Gary R. Wheeler20-Sep-03 3:33
Gary R. Wheeler20-Sep-03 3:33 
GeneralReading/Writing XP registry files Pin
skaanji19-Sep-03 6:34
skaanji19-Sep-03 6:34 
GeneralRe: Reading/Writing XP registry files Pin
David Crow19-Sep-03 7:40
David Crow19-Sep-03 7:40 
GeneralRe: Reading/Writing XP registry files Pin
skaanji19-Sep-03 8:21
skaanji19-Sep-03 8:21 
GeneralRe: Reading/Writing XP registry files Pin
David Crow19-Sep-03 8:26
David Crow19-Sep-03 8:26 
GeneralRe: Reading/Writing XP registry files Pin
ZoogieZork19-Sep-03 8:56
ZoogieZork19-Sep-03 8:56 
GeneralRe: Reading/Writing XP registry files Pin
skaanji19-Sep-03 9:39
skaanji19-Sep-03 9:39 
QuestionHow to save the structure of a tree view? Pin
Kayembi19-Sep-03 6:34
Kayembi19-Sep-03 6:34 
AnswerRe: How to save the structure of a tree view? Pin
l a u r e n20-Sep-03 6:04
l a u r e n20-Sep-03 6:04 
QuestionBetter way of changing window title and icon at run-time? Pin
Kayembi19-Sep-03 6:21
Kayembi19-Sep-03 6:21 
GeneralTool Tip Appearance Time Pin
Marty1020304019-Sep-03 6:11
Marty1020304019-Sep-03 6:11 
Generalmail verifier Pin
Max Santos19-Sep-03 5:53
Max Santos19-Sep-03 5:53 
GeneralInstallshield DLL Problem Pin
Anonymous19-Sep-03 5:42
Anonymous19-Sep-03 5:42 
GeneralInstallshield Pin
Anonymous19-Sep-03 5:36
Anonymous19-Sep-03 5:36 

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.