Click here to Skip to main content
15,902,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCEditView re-sets caret position on save Pin
sschilachi8-Aug-04 0:29
sschilachi8-Aug-04 0:29 
Generalloading resource only dlls Pin
Ted Podelnyk7-Aug-04 20:28
Ted Podelnyk7-Aug-04 20:28 
GeneralRe: loading resource only dlls Pin
bikram singh7-Aug-04 22:09
bikram singh7-Aug-04 22:09 
GeneralRe: loading resource only dlls Pin
Michael Dunn8-Aug-04 7:12
sitebuilderMichael Dunn8-Aug-04 7:12 
QuestionAny way to programmatically select a printer? Pin
DanYELL7-Aug-04 15:08
DanYELL7-Aug-04 15:08 
AnswerRe: Any way to programmatically select a printer? Pin
7-Aug-04 18:59
suss7-Aug-04 18:59 
GeneralMapi doesn't work Pin
Spiritofamerica7-Aug-04 11:16
Spiritofamerica7-Aug-04 11:16 
GeneralRe: Mapi doesn't work Pin
David Crow9-Aug-04 3:49
David Crow9-Aug-04 3:49 
Have you tried scaling the code down to something a wee bit smaller? What does the following produce:

HINSTANCE hMAPIInstance = LoadLibrary("MAPI32.DLL");
LPMAPILOGON lpMAPILogon             = (LPMAPILOGON) GetProcAddress(hMAPIInstance, "MAPILogon");
LPMAPIRESOLVENAME lpMAPIResolveName = (LPMAPIRESOLVENAME) GetProcAddress(hMAPIInstance, "MAPIResolveName");
LPMAPISENDMAIL lpMAPISendMail       = (LPMAPISENDMAIL) GetProcAddress(hMAPIInstance, "MAPISendMail");
 
LHANDLE lSession;
UINT uResult = (*lpMAPILogon)((UINT) m_hWnd, NULL, NULL, 0, 0, &lSession);
 
MapiRecipDesc *prMapiRecipient;
uResult = (*lpMAPIResolveName)(lSession, (UINT) m_hWnd, (LPSTR) lpszRecipient, 0, 0, prMapiRecipient);
lpMapiRecipDesc->ulReserved   = 0;
lpMapiRecipDesc->ulRecipClass = MAPI_TO;
 
MapiMessage MapiMsg = {0};
MapiMsg.lpszSubject  = (LPSTR) lpszSubject;
MapiMsg.lpszNoteText = (LPSTR) lpszBody;
MapiMsg.nRecipCount  = 1;
MapiMsg.lpRecips     = prMapiRecipient;
 
uResult = (*lpMAPISendMail)(lSession, (UINT) m_hWnd, &MapiMsg, 0, 0);




"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: Mapi doesn't work Pin
me also but I didn't log in9-Aug-04 9:24
sussme also but I didn't log in9-Aug-04 9:24 
GeneralRe: Mapi doesn't work Pin
David Crow9-Aug-04 10:58
David Crow9-Aug-04 10:58 
GeneralNEED HELP -- Win 32 MP3 ripper project Pin
Link26007-Aug-04 10:57
Link26007-Aug-04 10:57 
GeneralRe: NEED HELP -- Win 32 MP3 ripper project Pin
Ravi Bhavnani7-Aug-04 13:16
professionalRavi Bhavnani7-Aug-04 13:16 
GeneralRe: NEED HELP -- Win 32 MP3 ripper project Pin
Link26007-Aug-04 13:20
Link26007-Aug-04 13:20 
GeneralRe: NEED HELP -- Win 32 MP3 ripper project Pin
Ravi Bhavnani7-Aug-04 13:21
professionalRavi Bhavnani7-Aug-04 13:21 
GeneralRe: NEED HELP -- Win 32 MP3 ripper project Pin
Link26007-Aug-04 13:22
Link26007-Aug-04 13:22 
GeneralList Box Pin
Timothy Grabrian7-Aug-04 9:13
professionalTimothy Grabrian7-Aug-04 9:13 
GeneralRe: List Box Pin
Ravi Bhavnani7-Aug-04 9:35
professionalRavi Bhavnani7-Aug-04 9:35 
GeneralRe: List Box Pin
David Crow9-Aug-04 3:55
David Crow9-Aug-04 3:55 
GeneralManipulating rows and columns of an Image!! Pin
SR777-Aug-04 7:29
SR777-Aug-04 7:29 
GeneralTooltip in disabled buttons Pin
Rico Zuñiga7-Aug-04 7:07
Rico Zuñiga7-Aug-04 7:07 
Generalhoking functions Pin
gamitech7-Aug-04 5:59
gamitech7-Aug-04 5:59 
GeneralRe: hoking functions Pin
Ryan Binns8-Aug-04 18:31
Ryan Binns8-Aug-04 18:31 
GeneralNeed Help Pin
single647-Aug-04 5:10
single647-Aug-04 5:10 
QuestionExtreme programming?? What's that? Pin
Link26007-Aug-04 4:48
Link26007-Aug-04 4:48 
AnswerRe: Extreme programming?? What's that? Pin
Ravi Bhavnani7-Aug-04 5:08
professionalRavi Bhavnani7-Aug-04 5:08 

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.