Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_SETTEXT and Virtual Address Space Pin
sawerr9-Sep-08 13:07
sawerr9-Sep-08 13:07 
Questionhow to get registry subkey value using c++ Pin
adhilingam9-Sep-08 6:14
adhilingam9-Sep-08 6:14 
AnswerRe: how to get registry subkey value using c++ Pin
Perspx9-Sep-08 6:59
Perspx9-Sep-08 6:59 
AnswerRe: how to get registry subkey value using c++ Pin
vikas amin9-Sep-08 7:42
vikas amin9-Sep-08 7:42 
AnswerRe: how to get registry subkey value using c++ Pin
Hamid_RT9-Sep-08 8:10
Hamid_RT9-Sep-08 8:10 
QuestionDrawText is giving me garbage Pin
thebeekeeper9-Sep-08 5:16
thebeekeeper9-Sep-08 5:16 
AnswerRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 5:30
Mark Salsbery9-Sep-08 5:30 
GeneralRe: DrawText is giving me garbage Pin
thebeekeeper9-Sep-08 5:37
thebeekeeper9-Sep-08 5:37 
I was a little confused about that part too. If I don't cast it, I get a compile error: cannont convert from const char* to LPCTSTR. I always thought those were the same thing.

Another odd part of this problem is that when I use a standard CListBox, I can correctly add items to it like this:
USES_CONVERSION;
CA2CT converted(updates[i]->ToString().c_str());
m_UpdateBox.AddString(converted)


Which makes it seem like I'm incorrectly calling DrawText in my subclass because when I add the same text to my list box I get bad data on the display.
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 5:45
Mark Salsbery9-Sep-08 5:45 
GeneralRe: DrawText is giving me garbage Pin
thebeekeeper9-Sep-08 6:09
thebeekeeper9-Sep-08 6:09 
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 6:22
Mark Salsbery9-Sep-08 6:22 
GeneralRe: DrawText is giving me garbage Pin
thebeekeeper9-Sep-08 6:36
thebeekeeper9-Sep-08 6:36 
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 7:09
Mark Salsbery9-Sep-08 7:09 
GeneralRe: DrawText is giving me garbage Pin
thebeekeeper9-Sep-08 6:59
thebeekeeper9-Sep-08 6:59 
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 7:17
Mark Salsbery9-Sep-08 7:17 
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 7:19
Mark Salsbery9-Sep-08 7:19 
GeneralRe: DrawText is giving me garbage Pin
thebeekeeper9-Sep-08 7:25
thebeekeeper9-Sep-08 7:25 
GeneralRe: DrawText is giving me garbage Pin
Mark Salsbery9-Sep-08 7:31
Mark Salsbery9-Sep-08 7:31 
QuestionRe: DrawText is giving me garbage Pin
led mike9-Sep-08 5:32
led mike9-Sep-08 5:32 
QuestionEmbedded Data Pin
claman9-Sep-08 5:05
claman9-Sep-08 5:05 
JokeRe: Embedded Data Pin
CPallini9-Sep-08 5:35
mveCPallini9-Sep-08 5:35 
JokeRe: Embedded Data Pin
toxcct9-Sep-08 5:43
toxcct9-Sep-08 5:43 
JokeRe: Embedded Data Pin
enhzflep9-Sep-08 5:47
enhzflep9-Sep-08 5:47 
JokeRe: Embedded Data Pin
Perspx9-Sep-08 6:12
Perspx9-Sep-08 6:12 
JokeRe: Embedded Data Pin
CPallini9-Sep-08 6:13
mveCPallini9-Sep-08 6:13 

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.