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

C / C++ / MFC

 
GeneralRe: How to write CString to a .txt file Pin
ewighell1-Sep-06 16:39
ewighell1-Sep-06 16:39 
AnswerRe: How to write CString to a .txt file Pin
Andre xxxxxxx1-Sep-06 5:20
Andre xxxxxxx1-Sep-06 5:20 
QuestionRe: How to write CString to a .txt file Pin
ewighell1-Sep-06 16:46
ewighell1-Sep-06 16:46 
AnswerRe: How to write CString to a .txt file Pin
Hamid_RT1-Sep-06 21:45
Hamid_RT1-Sep-06 21:45 
Questionhow to ask a yes or no question Pin
V_shr1-Sep-06 4:26
V_shr1-Sep-06 4:26 
AnswerRe: how to ask a yes or no question Pin
Cedric Moonen1-Sep-06 4:46
Cedric Moonen1-Sep-06 4:46 
GeneralRe: how to ask a yes or no question Pin
V_shr1-Sep-06 4:50
V_shr1-Sep-06 4:50 
AnswerRe: how to ask a yes or no question Pin
Chipperm1-Sep-06 11:52
Chipperm1-Sep-06 11:52 
If you search for MessageBox on the msdn.microsoft.com website you will see that it takes four input parameters like this:

MessageBox(HWND hWnd, LPCTSTR lpText, LPCTSTR lpCaption, UINT uType);

HWND is the window handle
lpText is the text that is going to ask the question
lpCaption is the title of the message box
uType is the type of box (for a yes/no box set it to MB_YESNO in visual studio)

make sure you include the required header file Windows.h for the defines






Chipper Martin

AnswerRe: how to ask a yes or no question Pin
sheshidar1-Sep-06 18:46
sheshidar1-Sep-06 18:46 
QuestionBinary to Hex Literals Converter Pin
Joel Holdsworth1-Sep-06 4:03
Joel Holdsworth1-Sep-06 4:03 
AnswerRe: Binary to Hex Literals Converter Pin
Stephen Hewitt1-Sep-06 4:14
Stephen Hewitt1-Sep-06 4:14 
GeneralRe: Binary to Hex Literals Converter Pin
Joel Holdsworth1-Sep-06 4:41
Joel Holdsworth1-Sep-06 4:41 
GeneralRe: Binary to Hex Literals Converter [modified] Pin
Stephen Hewitt1-Sep-06 6:40
Stephen Hewitt1-Sep-06 6:40 
AnswerRe: Binary to Hex Literals Converter Pin
led mike1-Sep-06 5:44
led mike1-Sep-06 5:44 
AnswerRe: Binary to Hex Literals Converter Pin
Michael Dunn1-Sep-06 5:50
sitebuilderMichael Dunn1-Sep-06 5:50 
QuestionMS Office & MFC Pin
Vinicius Pontes1-Sep-06 3:11
Vinicius Pontes1-Sep-06 3:11 
AnswerRe: MS Office & MFC Pin
Cedric Moonen1-Sep-06 3:14
Cedric Moonen1-Sep-06 3:14 
AnswerRe: MS Office & MFC Pin
Waldermort1-Sep-06 4:32
Waldermort1-Sep-06 4:32 
GeneralRe: MS Office & MFC Pin
Vinicius Pontes1-Sep-06 4:35
Vinicius Pontes1-Sep-06 4:35 
GeneralRe: MS Office & MFC Pin
Cedric Moonen1-Sep-06 4:48
Cedric Moonen1-Sep-06 4:48 
AnswerRe: MS Office & MFC Pin
Hamid_RT2-Sep-06 9:33
Hamid_RT2-Sep-06 9:33 
QuestionRetrieving Regisrty Value Pin
Programm3r1-Sep-06 2:53
Programm3r1-Sep-06 2:53 
AnswerRe: Retrieving Regisrty Value Pin
Hamid_RT1-Sep-06 2:58
Hamid_RT1-Sep-06 2:58 
AnswerRe: Retrieving Regisrty Value Pin
Cedric Moonen1-Sep-06 3:04
Cedric Moonen1-Sep-06 3:04 
GeneralRe: Retrieving Regisrty Value Pin
Programm3r1-Sep-06 3:10
Programm3r1-Sep-06 3:10 

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.