Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ownerdraw Listbox Pin
Nishad S3-Oct-07 1:25
Nishad S3-Oct-07 1:25 
GeneralRe: Ownerdraw Listbox Pin
Hamid_RT3-Oct-07 2:00
Hamid_RT3-Oct-07 2:00 
GeneralRe: Ownerdraw Listbox Pin
Nishad S3-Oct-07 2:14
Nishad S3-Oct-07 2:14 
GeneralRe: Ownerdraw Listbox Pin
Hamid_RT3-Oct-07 2:26
Hamid_RT3-Oct-07 2:26 
GeneralRe: Ownerdraw Listbox Pin
Nishad S3-Oct-07 2:35
Nishad S3-Oct-07 2:35 
GeneralRe: Ownerdraw Listbox Pin
Hamed Musavi3-Oct-07 2:45
Hamed Musavi3-Oct-07 2:45 
GeneralRe: Ownerdraw Listbox Pin
David Crow3-Oct-07 3:29
David Crow3-Oct-07 3:29 
AnswerRe: Ownerdraw Listbox Pin
Iain Clarke, Warrior Programmer3-Oct-07 4:45
Iain Clarke, Warrior Programmer3-Oct-07 4:45 
Your method seems fine to me - but have a look at LBS_HASTRINGS to be sure.

My suspicion is that the example snippet is just storing a pointer to some text in itemData in order to have something simple to draw. There's nothing to stop you have your code numbers in it, or neglecting it completely.

Iain.



QuestionSet background color to List control Pin
Max++3-Oct-07 0:40
Max++3-Oct-07 0:40 
AnswerRe: Set background color to List control [modified] Pin
Hamed Musavi3-Oct-07 0:53
Hamed Musavi3-Oct-07 0:53 
AnswerRe: Set background color to List control Pin
Nishad S3-Oct-07 1:14
Nishad S3-Oct-07 1:14 
AnswerRe: Set background color to List control Pin
Hamid_RT3-Oct-07 2:06
Hamid_RT3-Oct-07 2:06 
GeneralRe: Set background color to List control Pin
Nishad S3-Oct-07 2:17
Nishad S3-Oct-07 2:17 
GeneralRe: Set background color to List control Pin
Hamid_RT3-Oct-07 2:26
Hamid_RT3-Oct-07 2:26 
QuestionSpace bar problem in scanf Pin
syarif203-Oct-07 0:11
syarif203-Oct-07 0:11 
QuestionRe: Space bar problem in scanf Pin
vikrant kpr3-Oct-07 0:26
vikrant kpr3-Oct-07 0:26 
AnswerRe: Space bar problem in scanf Pin
David Crow3-Oct-07 2:44
David Crow3-Oct-07 2:44 
AnswerRe: Space bar problem in scanf Pin
Anurag Gandhi3-Oct-07 4:28
professionalAnurag Gandhi3-Oct-07 4:28 
Questioninternal working of "sizeof()" operator Pin
Sachinpatole2-Oct-07 23:47
Sachinpatole2-Oct-07 23:47 
AnswerRe: internal working of "sizeof()" operator Pin
Rajesh R Subramanian2-Oct-07 23:50
professionalRajesh R Subramanian2-Oct-07 23:50 
GeneralRe: internal working of "sizeof()" operator Pin
Sachinpatole3-Oct-07 0:02
Sachinpatole3-Oct-07 0:02 
GeneralRe: internal working of "sizeof()" operator Pin
Nishad S3-Oct-07 1:22
Nishad S3-Oct-07 1:22 
JokeRe: internal working of "sizeof()" operator Pin
Hamid_RT3-Oct-07 2:09
Hamid_RT3-Oct-07 2:09 
AnswerRe: internal working of "sizeof()" operator Pin
DQNOK3-Oct-07 3:29
professionalDQNOK3-Oct-07 3:29 
Questionexception handling Pin
Daniel Kanev2-Oct-07 23:47
Daniel Kanev2-Oct-07 23:47 

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.