Click here to Skip to main content
15,884,177 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Trying to capture the screen, Getting some Error Pin
Diddy28-Jan-04 22:40
Diddy28-Jan-04 22:40 
GeneralClass/Overloaded funtion help Pin
tekkie241227-Jan-04 16:29
tekkie241227-Jan-04 16:29 
GeneralRe: Class/Overloaded funtion help Pin
Michael Gunlock27-Jan-04 16:45
Michael Gunlock27-Jan-04 16:45 
GeneralRe: Class/Overloaded funtion help Pin
tekkie241228-Jan-04 13:45
tekkie241228-Jan-04 13:45 
Generalsort item in tree control Pin
kendao27-Jan-04 16:21
kendao27-Jan-04 16:21 
GeneralRe: sort item in tree control Pin
Prakash Nadar27-Jan-04 18:55
Prakash Nadar27-Jan-04 18:55 
GeneralLVN_GETDISPINFO Using SendMessage Pin
fordge27-Jan-04 16:05
fordge27-Jan-04 16:05 
GeneralRe: LVN_GETDISPINFO Using SendMessage Pin
Mike Nordell28-Jan-04 0:35
Mike Nordell28-Jan-04 0:35 
fordge wrote:
NMLVDISPINFO NMLVDispInfo;
ZeroMemory(&NMLVDispInfo.item, sizeof(LVITEM));


Not that I'm providing any help with your problem at hand, but since you are using C++ you should be aware you can do:

NMLVDISPINFO NMLVDispInfo = { 0 };

To zero-initialize the struct.

That your code fills the struct with zeros based on the size of a completely unrelated struct (the boldface parts) also displays this technique could help create less buggy programs.
Generalparallel port Pin
Member 64882827-Jan-04 15:10
Member 64882827-Jan-04 15:10 
GeneralRe: parallel port Pin
Antti Keskinen27-Jan-04 19:35
Antti Keskinen27-Jan-04 19:35 
GeneralRe: parallel port Pin
Member 64882828-Jan-04 5:33
Member 64882828-Jan-04 5:33 
GeneralRe: parallel port Pin
Antti Keskinen28-Jan-04 6:42
Antti Keskinen28-Jan-04 6:42 
GeneralRe: parallel port Pin
Member 64882829-Jan-04 15:34
Member 64882829-Jan-04 15:34 
GeneralRe: parallel port Pin
Antti Keskinen30-Jan-04 6:30
Antti Keskinen30-Jan-04 6:30 
GeneralDetecting UPS State Pin
Blake Miller27-Jan-04 15:01
Blake Miller27-Jan-04 15:01 
GeneralRe: Detecting UPS State Pin
David Crow28-Jan-04 2:33
David Crow28-Jan-04 2:33 
GeneralWierd thing with caption... Pin
Snyp27-Jan-04 14:44
Snyp27-Jan-04 14:44 
GeneralRe: Wierd thing with caption... Pin
alex.barylski27-Jan-04 18:33
alex.barylski27-Jan-04 18:33 
GeneralRe: Wierd thing with caption... Pin
Antti Keskinen27-Jan-04 21:50
Antti Keskinen27-Jan-04 21:50 
GeneralRe: Wierd thing with caption... Pin
Snyp28-Jan-04 12:15
Snyp28-Jan-04 12:15 
QuestionHow to hide a dialog temporarily and go to CView to pick a point? Pin
lxy27-Jan-04 14:25
lxy27-Jan-04 14:25 
AnswerRe: How to hide a dialog temporarily and go to CView to pick a point? Pin
Antti Keskinen27-Jan-04 21:36
Antti Keskinen27-Jan-04 21:36 
GeneralRe: How to hide a dialog temporarily and go to CView to pick a point? Pin
Anonymous28-Jan-04 16:44
Anonymous28-Jan-04 16:44 
QuestionHow can I get the file size of a file Pin
nachilau27-Jan-04 14:14
nachilau27-Jan-04 14:14 
AnswerRe: How can I get the file size of a file Pin
Brad Bruce27-Jan-04 14:43
Brad Bruce27-Jan-04 14:43 

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.