Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C# Pin
Hamid_RT29-Jun-07 3:03
Hamid_RT29-Jun-07 3:03 
QuestionINI insted of Registry Pin
Abhijeet Pathak28-Jun-07 7:11
Abhijeet Pathak28-Jun-07 7:11 
AnswerRe: INI insted of Registry Pin
Joan M28-Jun-07 7:29
professionalJoan M28-Jun-07 7:29 
AnswerRe: INI insted of Registry Pin
Hans Dietrich28-Jun-07 8:34
mentorHans Dietrich28-Jun-07 8:34 
QuestionCStatic text box Pin
mcsherry28-Jun-07 6:07
mcsherry28-Jun-07 6:07 
AnswerRe: CStatic text box Pin
mcsherry28-Jun-07 6:27
mcsherry28-Jun-07 6:27 
AnswerRe: CStatic text box Pin
Wes Aday28-Jun-07 6:29
professionalWes Aday28-Jun-07 6:29 
AnswerRe: CStatic text box Pin
Mark Salsbery28-Jun-07 6:29
Mark Salsbery28-Jun-07 6:29 
If you add the SS_NOTIFY then the parent window will receive a STN_CLICKED notification (in a
WM_COMMAND message). You can set the SS_NOTIFY style in the control's property window by setting
the Notify property to true.

You can catch the message in the parent with

afx_msg void OnStaticClicked();
...
ON_CONTROL(STN_CLICKED, IDC_MYSTATIC, OnStaticClicked)
...
void CMyDialog::OnStaticClicked()
{
// do something here
}



"Go that way, really fast. If something gets in your way, turn."

Questionwhat's function? Pin
Max++28-Jun-07 6:00
Max++28-Jun-07 6:00 
AnswerRe: what's function? Pin
Wes Aday28-Jun-07 6:30
professionalWes Aday28-Jun-07 6:30 
GeneralRe: what's function? Pin
led mike28-Jun-07 6:33
led mike28-Jun-07 6:33 
GeneralRe: what's function? Pin
Mark Salsbery28-Jun-07 6:35
Mark Salsbery28-Jun-07 6:35 
GeneralRe: what's function? Pin
Wes Aday28-Jun-07 6:39
professionalWes Aday28-Jun-07 6:39 
QuestionRe: what's function? Pin
Mark Salsbery28-Jun-07 6:34
Mark Salsbery28-Jun-07 6:34 
AnswerRe: what's function? Pin
Max++28-Jun-07 7:00
Max++28-Jun-07 7:00 
AnswerRe: what's function? Pin
led mike28-Jun-07 7:52
led mike28-Jun-07 7:52 
AnswerRe: what's function? Pin
Adno28-Jun-07 8:55
Adno28-Jun-07 8:55 
GeneralRe: what's function? Pin
led mike28-Jun-07 9:21
led mike28-Jun-07 9:21 
GeneralRe: what's function? Pin
Adno28-Jun-07 9:44
Adno28-Jun-07 9:44 
AnswerRe: what's function? [modified] Pin
led mike28-Jun-07 9:23
led mike28-Jun-07 9:23 
GeneralRe: what's function? Pin
Mark Salsbery28-Jun-07 11:16
Mark Salsbery28-Jun-07 11:16 
Questioncall main view form subclass Pin
Tara1428-Jun-07 5:41
Tara1428-Jun-07 5:41 
AnswerRe: call main view form subclass Pin
Matthew Faithfull28-Jun-07 6:27
Matthew Faithfull28-Jun-07 6:27 
GeneralRe: Yipeeeee! Pin
Tara1428-Jun-07 17:27
Tara1428-Jun-07 17:27 
QuestionUsing ShellExecute to launch notepad ??? Pin
ldsdbomber28-Jun-07 5:14
ldsdbomber28-Jun-07 5:14 

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.