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

C / C++ / MFC

 
GeneralRe: Opc server help Pin
QuickDeveloper7-Mar-06 20:59
QuickDeveloper7-Mar-06 20:59 
QuestionAPI List Control Help Pin
Greg Barnes7-Mar-06 7:43
Greg Barnes7-Mar-06 7:43 
QuestionRe: API List Control Help Pin
David Crow7-Mar-06 8:33
David Crow7-Mar-06 8:33 
AnswerRe: API List Control Help Pin
Greg Barnes7-Mar-06 9:05
Greg Barnes7-Mar-06 9:05 
QuestionRe: API List Control Help Pin
David Crow7-Mar-06 9:14
David Crow7-Mar-06 9:14 
AnswerRe: API List Control Help Pin
Greg Barnes7-Mar-06 9:58
Greg Barnes7-Mar-06 9:58 
QuestionRe: API List Control Help Pin
David Crow7-Mar-06 10:29
David Crow7-Mar-06 10:29 
AnswerRe: API List Control Help Pin
James R. Twine7-Mar-06 10:30
James R. Twine7-Mar-06 10:30 
   Getting back 0 from LVM_GETNEXTITEM is a valid return, not an error return; -1 is an error return (or "not items found").  Getting back 0 indicates that the first (zero-ith) item in the control is selected.

   Calling SendMessage again with the same parameters will return zero again because you are still specifying -1 for the "start" of the search.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: API List Control Help Pin
Greg Barnes7-Mar-06 11:03
Greg Barnes7-Mar-06 11:03 
QuestionCritical sections Pin
hint_547-Mar-06 7:42
hint_547-Mar-06 7:42 
AnswerRe: Critical sections Pin
Joe Woodbury7-Mar-06 8:15
professionalJoe Woodbury7-Mar-06 8:15 
Questionmktime() Pin
DanYELL7-Mar-06 6:58
DanYELL7-Mar-06 6:58 
AnswerRe: mktime() Pin
David Crow7-Mar-06 7:06
David Crow7-Mar-06 7:06 
GeneralRe: mktime() Pin
DanYELL7-Mar-06 7:10
DanYELL7-Mar-06 7:10 
GeneralRe: mktime() Pin
David Crow7-Mar-06 7:16
David Crow7-Mar-06 7:16 
GeneralRe: mktime() Pin
DanYELL7-Mar-06 8:17
DanYELL7-Mar-06 8:17 
AnswerRe: mktime() Pin
Michael Dunn7-Mar-06 11:07
sitebuilderMichael Dunn7-Mar-06 11:07 
GeneralRe: mktime() Pin
Nibu babu thomas7-Mar-06 17:14
Nibu babu thomas7-Mar-06 17:14 
Questionabout write code from ASM. Pin
HOW WHAT7-Mar-06 6:05
HOW WHAT7-Mar-06 6:05 
QuestionHey - what happened to "how to get an answer to your question"? Pin
James R. Twine7-Mar-06 5:23
James R. Twine7-Mar-06 5:23 
AnswerRe: Hey - what happened to "how to get an answer to your question"? Pin
Nish Nishant7-Mar-06 5:25
sitebuilderNish Nishant7-Mar-06 5:25 
GeneralRe: Hey - what happened to "how to get an answer to your question"? Pin
James R. Twine7-Mar-06 5:28
James R. Twine7-Mar-06 5:28 
AnswerRe: Hey - what happened to "how to get an answer to your question"? Pin
David Crow7-Mar-06 5:32
David Crow7-Mar-06 5:32 
Questionwhat is private & static function-MFC Pin
beardy janggut7-Mar-06 5:18
beardy janggut7-Mar-06 5:18 
AnswerRe: what is private & static function-MFC Pin
Nish Nishant7-Mar-06 5:27
sitebuilderNish Nishant7-Mar-06 5:27 

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.