Click here to Skip to main content
15,883,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 1:27
lamparded30-Apr-11 1:27 
AnswerRe: Is there any way to SendMessage to a Button control Pin
«_Superman_»30-Apr-11 2:12
professional«_Superman_»30-Apr-11 2:12 
GeneralRe: Is there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 3:27
lamparded30-Apr-11 3:27 
AnswerRe: Is there any way to SendMessage to a Button control Pin
Hans Dietrich30-Apr-11 4:18
mentorHans Dietrich30-Apr-11 4:18 
GeneralRe: Is there any way to SendMessage to a Button control Pin
Richard MacCutchan30-Apr-11 5:33
mveRichard MacCutchan30-Apr-11 5:33 
GeneralRe: Is there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 6:18
lamparded30-Apr-11 6:18 
GeneralRe: Is there any way to SendMessage to a Button control Pin
Richard MacCutchan30-Apr-11 6:51
mveRichard MacCutchan30-Apr-11 6:51 
GeneralRe: Is there any way to SendMessage to a Button control Pin
lamparded30-Apr-11 13:31
lamparded30-Apr-11 13:31 
yea,I use
SendMessage(WM_COMMAND,(BN_CLICKED)<<16|IDC_BUTTON1,(LPARAM)GetDlgItem(IDC_BUTTON1));


it's passed in Compiling but pop up a Assertion Failded when running
>	mfc100ud.dll!CWnd::OnCommand(unsigned int wParam, long lParam)  Line 2708 + 0x27 bytes	C++



so I changed it in Release Configuration,no Assertion Failed pop up ,why?
GeneralRe: Is there any way to SendMessage to a Button control Pin
barneyman30-Apr-11 16:40
barneyman30-Apr-11 16:40 
GeneralRe: Is there any way to SendMessage to a Button control Pin
Richard MacCutchan30-Apr-11 21:34
mveRichard MacCutchan30-Apr-11 21:34 
GeneralRe: Is there any way to SendMessage to a Button control Pin
jeff61-May-11 12:01
jeff61-May-11 12:01 
Questioncompression Pin
hmaz462929-Apr-11 2:09
hmaz462929-Apr-11 2:09 
AnswerRe: compression Pin
Niklas L29-Apr-11 2:29
Niklas L29-Apr-11 2:29 
QuestionRe: compression Pin
David Crow29-Apr-11 2:50
David Crow29-Apr-11 2:50 
AnswerRe: compression Pin
hmaz462930-Apr-11 23:43
hmaz462930-Apr-11 23:43 
QuestionRe: compression Pin
David Crow2-May-11 2:54
David Crow2-May-11 2:54 
AnswerRe: compression Pin
hmaz46292-May-11 7:25
hmaz46292-May-11 7:25 
GeneralRe: compression Pin
David Crow2-May-11 9:17
David Crow2-May-11 9:17 
AnswerRe: compression Pin
వేంకటనారాయణ(venkatmakam)29-Apr-11 4:16
వేంకటనారాయణ(venkatmakam)29-Apr-11 4:16 
GeneralRe: compression Pin
hmaz462930-Apr-11 23:44
hmaz462930-Apr-11 23:44 
AnswerRe: compression Pin
Chris Meech29-Apr-11 6:13
Chris Meech29-Apr-11 6:13 
AnswerRe: compression Pin
Andrew Phillips30-Apr-11 5:34
Andrew Phillips30-Apr-11 5:34 
QuestionC++ concept Pin
john563229-Apr-11 1:39
john563229-Apr-11 1:39 
AnswerRe: C++ concept Pin
Manfred Rudolf Bihy29-Apr-11 2:05
professionalManfred Rudolf Bihy29-Apr-11 2:05 
AnswerRe: C++ concept Pin
hmaz462929-Apr-11 2:11
hmaz462929-Apr-11 2:11 

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.