Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWebBrowser2 related help please Pin
gangar17-Apr-08 16:58
gangar17-Apr-08 16:58 
GeneralCrash dump in vista Pin
rrrado17-Apr-08 6:52
rrrado17-Apr-08 6:52 
GeneralRe: Crash dump in vista Pin
TalSt17-Apr-08 9:37
TalSt17-Apr-08 9:37 
GeneralRe: Crash dump in vista Pin
Stephen Hewitt17-Apr-08 15:15
Stephen Hewitt17-Apr-08 15:15 
GeneralMoving project to a Unix Platform Pin
Andy20217-Apr-08 6:48
Andy20217-Apr-08 6:48 
GeneralRe: Moving project to a Unix Platform Pin
David Crow17-Apr-08 6:53
David Crow17-Apr-08 6:53 
GeneralRe: Moving project to a Unix Platform Pin
Andy20218-Apr-08 0:44
Andy20218-Apr-08 0:44 
GeneralMAPIFolderPtr olItemType Pin
pnpfriend17-Apr-08 5:30
pnpfriend17-Apr-08 5:30 
Hi I am reading all the emails and having problem identifying the type of the email.
I use MAPIFolderPtr and browse all the email items.
I used UnManaged C++

MAPIFolderPtr MFolder
_ItemsPtr mItems;
_MailItemPtr mItem;
_AppointmentItemPtr aptItem;


.....
.....
mItems = MFolder->Items;
for(int index=1;index<mitems->Count;index++)
{
if (MFolder->DefaultItemType == olMailItem)
{
mItem = mItems->Item(x);
....
}
else if (MFolder->DefaultItemType == olAppointmentItem)
{
aptItem = mItems->Item(x);
...
}
....
}
However MFolder->DefaultItemType is always returning olMailItem.
I also used MFolder->DefaultMessageClass(), etc. but Dont' know how to find out what type of item it is. How can I find out itemType so I can get the right mail item?

Thanks.
GeneralProgrammatic send copy command (CTRL+C) Pin
yytg17-Apr-08 4:10
yytg17-Apr-08 4:10 
GeneralRe: Programmatic send copy command (CTRL+C) Pin
led mike17-Apr-08 4:24
led mike17-Apr-08 4:24 
QuestionRe: Programmatic send copy command (CTRL+C) Pin
David Crow17-Apr-08 4:26
David Crow17-Apr-08 4:26 
GeneralRe: Programmatic send copy command (CTRL+C) Pin
CPallini17-Apr-08 4:38
mveCPallini17-Apr-08 4:38 
AnswerRe: DoEvents in C++ Pin
Nathan Holt at EMOM17-Apr-08 7:37
Nathan Holt at EMOM17-Apr-08 7:37 
QuestionChanging Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 4:02
Kwanalouie17-Apr-08 4:02 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 4:24
David Crow17-Apr-08 4:24 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 5:08
Kwanalouie17-Apr-08 5:08 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 5:19
David Crow17-Apr-08 5:19 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 6:30
Kwanalouie17-Apr-08 6:30 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
Kwanalouie17-Apr-08 6:44
Kwanalouie17-Apr-08 6:44 
GeneralRe: Changing Window Main Frame Caption String Visual C++ Pin
David Crow17-Apr-08 6:52
David Crow17-Apr-08 6:52 
AnswerRe: Changing Window Main Frame Caption String Visual C++ Pin
led mike17-Apr-08 4:27
led mike17-Apr-08 4:27 
GeneralEdit in Flexgrid Pin
sunny_vc17-Apr-08 3:13
sunny_vc17-Apr-08 3:13 
GeneralRe: Edit in Flexgrid [modified] Pin
Eurosid17-Apr-08 4:54
Eurosid17-Apr-08 4:54 
Questionwhat is AFX_OLDPROPSHEETHEADER and GetPropSheetHeader()? Pin
Nikesh Jagtap17-Apr-08 2:59
Nikesh Jagtap17-Apr-08 2:59 
AnswerRe: what is AFX_OLDPROPSHEETHEADER and GetPropSheetHeader()? Pin
Moak17-Apr-08 3:13
Moak17-Apr-08 3: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.