Click here to Skip to main content
15,920,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to show a progress dialog to a no window procedure Pin
Mark Salsbery16-May-07 5:14
Mark Salsbery16-May-07 5:14 
Questionerror C2106: '=' : left operand must be l-value Pin
Aint14-May-07 17:43
Aint14-May-07 17:43 
AnswerRe: error C2106: '=' : left operand must be l-value Pin
bob1697214-May-07 18:14
bob1697214-May-07 18:14 
GeneralRe: error C2106: '=' : left operand must be l-value Pin
Arman S.14-May-07 20:08
Arman S.14-May-07 20:08 
GeneralRe: error C2106: '=' : left operand must be l-value Pin
bob1697215-May-07 2:13
bob1697215-May-07 2:13 
AnswerRe: error C2106: '=' : left operand must be l-value Pin
John R. Shaw14-May-07 19:10
John R. Shaw14-May-07 19:10 
QuestionEvent Handler -Please help me Pin
prathuraj14-May-07 17:08
prathuraj14-May-07 17:08 
AnswerRe: Event Handler -Please help me Pin
Arman S.14-May-07 19:30
Arman S.14-May-07 19:30 
Generally, three things to be done;

*) decide which exact command to handle
*) prepare the handler function [whose prtototype is influenced by the cammand to be handled]
*) map the command to the handler

As for ip control, I guess you are trying to handle the IPN_FIELDCHANGED notifycation. So you would have a handler like this;

void CMyDialog::OnFieldChangedIpAddress(NMHDR *pNMHDR, LRESULT *pResult)
{
    LPNMIPADDRESS pIPAddr = reinterpret_cast<LPNMIPADDRESS>(pNMHDR);
    // your code here ...
    *pResult = 0;
}


And map it to the notifycation inside BEGIN_MESSAGE_MAP/END_MESSAGE_MAP pair like so;

ON_NOTIFY(IPN_FIELDCHANGED, IDC_MYIPADDRESS, OnFieldChangedIpAddress)


--
=====
Arman

GeneralRe: Event Handler -Please help me Pin
prathuraj14-May-07 19:43
prathuraj14-May-07 19:43 
GeneralRe: Event Handler -Please help me Pin
Arman S.14-May-07 19:51
Arman S.14-May-07 19:51 
GeneralRe: Event Handler -Please help me Pin
prathuraj14-May-07 22:32
prathuraj14-May-07 22:32 
GeneralRe: Event Handler -Please help me Pin
Arman S.14-May-07 22:40
Arman S.14-May-07 22:40 
GeneralRe: Event Handler -Please help me Pin
Hamid_RT14-May-07 20:55
Hamid_RT14-May-07 20:55 
GeneralRe: Event Handler -Please help me Pin
prathuraj14-May-07 23:33
prathuraj14-May-07 23:33 
GeneralRe: Event Handler -Please help me Pin
Hamid_RT15-May-07 1:00
Hamid_RT15-May-07 1:00 
GeneralRe: Event Handler -Please help me Pin
prathuraj15-May-07 1:23
prathuraj15-May-07 1:23 
GeneralRe: Event Handler -Please help me Pin
Hamid_RT15-May-07 2:05
Hamid_RT15-May-07 2:05 
Questionwhat to include to use XMLReader? Pin
nathan714-May-07 16:41
nathan714-May-07 16:41 
AnswerRe: what to include to use XMLReader? Pin
nathan714-May-07 16:48
nathan714-May-07 16:48 
GeneralRe: what to include to use XMLReader? Pin
bob1697214-May-07 17:21
bob1697214-May-07 17:21 
AnswerRe: what to include to use XMLReader? Pin
Hamid_RT14-May-07 20:58
Hamid_RT14-May-07 20:58 
AnswerRe: what to include to use XMLReader? Pin
Sam_c15-May-07 3:37
Sam_c15-May-07 3:37 
QuestionCScrollBar SB_LINEDOWN Pin
bob1697214-May-07 12:23
bob1697214-May-07 12:23 
AnswerRe: CScrollBar SB_LINEDOWN Pin
Mark Salsbery14-May-07 14:16
Mark Salsbery14-May-07 14:16 
GeneralRe: CScrollBar SB_LINEDOWN Pin
bob1697214-May-07 17:18
bob1697214-May-07 17:18 

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.