Click here to Skip to main content
15,886,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 8:10
sitebuilderLuc Pattyn30-Apr-11 8:10 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:16
quartaela30-Apr-11 8:16 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:20
quartaela30-Apr-11 8:20 
GeneralRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 8:32
sitebuilderLuc Pattyn30-Apr-11 8:32 
QuestionProblem in Callback function in Client Application [modified] Pin
manoharbalu30-Apr-11 1:27
manoharbalu30-Apr-11 1:27 
AnswerRe: Problem in Callback function in Client Application Pin
Hans Dietrich30-Apr-11 4:27
mentorHans Dietrich30-Apr-11 4:27 
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 
If you're not using MFC, the following would be the code, where hDlg is the handle to the dialog hosting the button -
::SendMessage(hDlg, WM_COMMAND, (BN_CLICKED << 16) | IDC_BUTTON1, ::GetDlgItem(hDlg, IDC_BUTTON1);

If you're using MFC, the following would be the version if you're calling it from within the dialog class -
SendMessage(WM_COMMAND, (BN_CLICKED << 16) | IDC_BUTTON1, GetDlgItem(IDC_BUTTON1));

«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

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 
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 

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.