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

C / C++ / MFC

 
AnswerRe: drawing in different layers in VC++ Pin
Chris Losinger12-Apr-10 7:32
professionalChris Losinger12-Apr-10 7:32 
GeneralRe: drawing in different layers in VC++ Pin
chikach1-Jun-10 5:20
chikach1-Jun-10 5:20 
QuestionHow to know from the current CWnd object if the Parent CWnd object has been sized Pin
Mr. Tomay12-Apr-10 5:32
Mr. Tomay12-Apr-10 5:32 
AnswerRe: How to know from the current CWnd object if the Parent CWnd object has been sized Pin
Eugen Podsypalnikov12-Apr-10 5:37
Eugen Podsypalnikov12-Apr-10 5:37 
GeneralRe: How to know from the current CWnd object if the Parent CWnd object has been sized Pin
Mr. Tomay13-Apr-10 8:38
Mr. Tomay13-Apr-10 8:38 
RantRe: How to know from the current CWnd object if the Parent CWnd object has been sized Pin
Iain Clarke, Warrior Programmer12-Apr-10 7:41
Iain Clarke, Warrior Programmer12-Apr-10 7:41 
AnswerRe: How to know from the current CWnd object if the Parent CWnd object has been sized Pin
LittleYellowBird12-Apr-10 22:35
LittleYellowBird12-Apr-10 22:35 
QuestionMAPIReadNext works well but MAPIReadMail doesn´t work. Pin
SNArruda12-Apr-10 5:25
SNArruda12-Apr-10 5:25 
Hi everybody,

As i said, MAPIReadNext function return 0 and a pointer to unread message on windows live mail, but after it, if i send a MAPIReadMail command i receive a 0 return code again, but the pointer to struct message is NULL.

Portion of my code:

MapiMessage* message ; // Created but not initialized
ULONG err=0; // Created and initialized
LPSTR rgchMsgID; // Created but not initialized

// return 0 and put 546 into rgchMsgID
ULONG uFindRet = lpfnMAPIFindNext(lhSession,0L,"","",MAPI_LONG_MSGID|MAPI_UNREAD_ONLY,0L,rgchMsgID);

err = lpfnMAPIReadMail(lhSession,0L,rgchMsgID,MAPI_BODY_AS_FILE,0,&message); // Return 0

if (message==NULL) // true, because message is NULL.
err = FAILMAIL; // Badly, Allways execute this line.

Can someone help me ?

I try everything i knew.

since now, thanks.
QuestionLarge icons in CDockingManager tabs (for side panes). Pin
Bartosz Bien12-Apr-10 4:09
Bartosz Bien12-Apr-10 4:09 
QuestionBooks Pin
humais12-Apr-10 3:48
humais12-Apr-10 3:48 
AnswerRe: Books Pin
Maximilien12-Apr-10 4:15
Maximilien12-Apr-10 4:15 
AnswerRe: Books Pin
Fareed Rizkalla12-Apr-10 6:29
Fareed Rizkalla12-Apr-10 6:29 
GeneralRe: Books Pin
Maximilien12-Apr-10 6:33
Maximilien12-Apr-10 6:33 
GeneralRe: Books Pin
humais12-Apr-10 7:36
humais12-Apr-10 7:36 
GeneralRe: Books Pin
Fareed Rizkalla12-Apr-10 15:27
Fareed Rizkalla12-Apr-10 15:27 
Questiondynamically linked STL Pin
vikramlinux12-Apr-10 2:41
vikramlinux12-Apr-10 2:41 
AnswerRe: dynamically linked STL Pin
CPallini12-Apr-10 2:56
mveCPallini12-Apr-10 2:56 
GeneralRe: dynamically linked STL Pin
vikramlinux12-Apr-10 3:20
vikramlinux12-Apr-10 3:20 
AnswerRe: dynamically linked STL Pin
Eugen Podsypalnikov12-Apr-10 2:59
Eugen Podsypalnikov12-Apr-10 2:59 
AnswerRe: dynamically linked STL Pin
Moak12-Apr-10 8:17
Moak12-Apr-10 8:17 
QuestionDistance Vector Routing Algorithm Pin
GUD KESTO12-Apr-10 2:33
GUD KESTO12-Apr-10 2:33 
AnswerRe: Distance Vector Routing Algorithm Pin
CPallini12-Apr-10 2:49
mveCPallini12-Apr-10 2:49 
AnswerRe: Distance Vector Routing Algorithm Pin
jeron112-Apr-10 5:38
jeron112-Apr-10 5:38 
QuestionHiding a process from task manager processes tab Pin
Srivathsa_12-Apr-10 1:31
Srivathsa_12-Apr-10 1:31 
AnswerRe: Hiding a process from task manager processes tab Pin
Cedric Moonen12-Apr-10 1:45
Cedric Moonen12-Apr-10 1:45 

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.