Click here to Skip to main content
15,914,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: what is wrong with my thread? help Pin
includeh1017-Sep-02 21:44
includeh1017-Sep-02 21:44 
GeneralRe: what is wrong with my thread? help Pin
valikac18-Sep-02 4:35
valikac18-Sep-02 4:35 
AnswerRe: what is wrong with my thread? help Pin
Stephane Rodriguez.17-Sep-02 22:09
Stephane Rodriguez.17-Sep-02 22:09 
GeneralHelp: ClassWizard error! Pin
Daniel Strigl17-Sep-02 20:38
Daniel Strigl17-Sep-02 20:38 
GeneralRe: Help: ClassWizard error! Pin
Steve S17-Sep-02 21:18
Steve S17-Sep-02 21:18 
GeneralRe: Help: ClassWizard error! Pin
Daniel Strigl17-Sep-02 21:39
Daniel Strigl17-Sep-02 21:39 
GeneralChange the bitmap of a CommandBand button... Pin
Daniel Strigl17-Sep-02 20:00
Daniel Strigl17-Sep-02 20:00 
GeneralUsing ShellExecute to send email Pin
Abin17-Sep-02 18:02
Abin17-Sep-02 18:02 
Hi all, I'm trying to use ShellExecute API to send email, but got some problems, the biggest one is that I don't know how to add line breaks into the email body, below are my code:
// I want to send an email to "abc@def.com",
// with "hello" as subject,
// and "hi,\nHow are you?" as the body.
// Note that I want a line break between "Hi," and "How"
::ShellExecute(NULL,
             "open",
             "mailto:abc@def.com?subject=hello&body=hi,\nHow are you?",
             NULL,
             NULL,
             SW_HIDE);

Everything went OK except the line break got eaten, I also tried "\n\r", no good either. Anyone know how to add line breaks? Thanks in advance.

Bin
GeneralRe: Using ShellExecute to send email Pin
Shog917-Sep-02 19:19
sitebuilderShog917-Sep-02 19:19 
GeneralRe: Using ShellExecute to send email Pin
Abin17-Sep-02 20:17
Abin17-Sep-02 20:17 
GeneralRe: Using ShellExecute to send email Pin
Jon Hulatt17-Sep-02 22:15
Jon Hulatt17-Sep-02 22:15 
GeneralRe: Using ShellExecute to send email Pin
Stephane Rodriguez.17-Sep-02 22:16
Stephane Rodriguez.17-Sep-02 22:16 
GeneralRe: Using ShellExecute to send email Pin
Abin17-Sep-02 22:38
Abin17-Sep-02 22:38 
GeneralRe: Using ShellExecute to send email Pin
adamUK17-Sep-02 22:15
adamUK17-Sep-02 22:15 
GeneralRe: Using ShellExecute to send email Pin
[James Pullicino]17-Sep-02 23:22
[James Pullicino]17-Sep-02 23:22 
QuestionWhere ANSI C Library Source Code can be downloaded? Pin
shi17-Sep-02 17:08
shi17-Sep-02 17:08 
AnswerRe: Where ANSI C Library Source Code can be downloaded? Pin
Chris Losinger17-Sep-02 18:18
professionalChris Losinger17-Sep-02 18:18 
Questionbool question? Pin
Rene De La Garza17-Sep-02 17:03
Rene De La Garza17-Sep-02 17:03 
AnswerRe: bool question? Pin
.dan.g.17-Sep-02 17:16
professional.dan.g.17-Sep-02 17:16 
GeneralRe: bool question? Pin
Rene De La Garza17-Sep-02 17:22
Rene De La Garza17-Sep-02 17:22 
GeneralRe: bool question? Pin
Mike Nordell18-Sep-02 3:37
Mike Nordell18-Sep-02 3:37 
GeneralRe: bool question? Pin
Rene De La Garza18-Sep-02 10:35
Rene De La Garza18-Sep-02 10:35 
Generalminmaxinfo question Pin
nss17-Sep-02 16:49
nss17-Sep-02 16:49 
GeneralRe: minmaxinfo question Pin
.dan.g.17-Sep-02 16:50
professional.dan.g.17-Sep-02 16:50 
Generalthanks and another.... Pin
nss17-Sep-02 17:01
nss17-Sep-02 17:01 

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.