Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
includeh102-Sep-09 8:48
includeh102-Sep-09 8:48 
AnswerRe: How to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
Stuart Dootson2-Sep-09 9:07
professionalStuart Dootson2-Sep-09 9:07 
GeneralRe: How to dispatch WM_LBUTTONDOWN message after calling ReleaseCapture()? Pin
includeh103-Sep-09 7:45
includeh103-Sep-09 7:45 
Questionchar char[] variables help Pin
egerving2-Sep-09 8:26
egerving2-Sep-09 8:26 
AnswerRe: char char[] variables help Pin
Iain Clarke, Warrior Programmer2-Sep-09 8:47
Iain Clarke, Warrior Programmer2-Sep-09 8:47 
AnswerRe: char char[] variables help Pin
Stuart Dootson2-Sep-09 9:01
professionalStuart Dootson2-Sep-09 9:01 
AnswerRe: char char[] variables help Pin
Randor 2-Sep-09 9:09
professional Randor 2-Sep-09 9:09 
AnswerRe: char char[] variables help Pin
David Crow2-Sep-09 9:50
David Crow2-Sep-09 9:50 
egerving wrote:
...and if you define char x[112] you then can't say x="Hello" because I guess x must be 112 chacters.


Valid:
char x[112] = "Hello";
Invalid:
char x[112];
x = "Hello";

egerving wrote:
...if you want use a variable and assign it to different values and/or concatenat different values to it what do you do.


For C, use functions like strcpy() and strcat(). For C++, use the string class.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


AnswerRe: char char[] variables help Pin
egerving2-Sep-09 11:31
egerving2-Sep-09 11:31 
AnswerRe: char char[] variables help Pin
Joe Woodbury2-Sep-09 17:11
professionalJoe Woodbury2-Sep-09 17:11 
QuestionSecurity Access Functions Pin
Richard Andrew x642-Sep-09 7:28
professionalRichard Andrew x642-Sep-09 7:28 
AnswerRe: Security Access Functions Pin
Stuart Dootson2-Sep-09 8:17
professionalStuart Dootson2-Sep-09 8:17 
GeneralRe: Security Access Functions Pin
Richard Andrew x642-Sep-09 9:47
professionalRichard Andrew x642-Sep-09 9:47 
AnswerRe: Security Access Functions Pin
Randor 2-Sep-09 8:45
professional Randor 2-Sep-09 8:45 
GeneralRe: Security Access Functions Pin
Richard Andrew x642-Sep-09 9:48
professionalRichard Andrew x642-Sep-09 9:48 
QuestionSetting x-microsoftajax:Delta=true header Giving http error "400" Pin
Ash_VCPP2-Sep-09 5:38
Ash_VCPP2-Sep-09 5:38 
QuestionMDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
mesajflaviu2-Sep-09 4:41
mesajflaviu2-Sep-09 4:41 
AnswerRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
Stuart Dootson2-Sep-09 5:11
professionalStuart Dootson2-Sep-09 5:11 
GeneralRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
mesajflaviu2-Sep-09 7:54
mesajflaviu2-Sep-09 7:54 
GeneralRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
Stuart Dootson2-Sep-09 8:45
professionalStuart Dootson2-Sep-09 8:45 
GeneralRe: MDI framework do not cross over through OnActivateFrame(int nCmdShow) ? Pin
mesajflaviu3-Sep-09 7:44
mesajflaviu3-Sep-09 7:44 
QuestionTe difference between OnKeyDown and OnKeyUp Pin
prithaa2-Sep-09 2:27
prithaa2-Sep-09 2:27 
AnswerRe: Te difference between OnKeyDown and OnKeyUp Pin
Stuart Dootson2-Sep-09 5:17
professionalStuart Dootson2-Sep-09 5:17 
GeneralRe: Te difference between OnKeyDown and OnKeyUp Pin
prithaa2-Sep-09 6:41
prithaa2-Sep-09 6:41 
GeneralRe: Te difference between OnKeyDown and OnKeyUp Pin
Stuart Dootson2-Sep-09 6:44
professionalStuart Dootson2-Sep-09 6:44 

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.