Click here to Skip to main content
15,900,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Encryption Pin
Scott H. Settlemier27-Nov-02 3:46
Scott H. Settlemier27-Nov-02 3:46 
GeneralVoice over Internet - HOW Pin
Kunal Khairnar26-Nov-02 23:42
Kunal Khairnar26-Nov-02 23:42 
GeneralRe: Voice over Internet - HOW Pin
Scott H. Settlemier27-Nov-02 4:58
Scott H. Settlemier27-Nov-02 4:58 
GeneralDialog in CWinThread Pin
rrrado26-Nov-02 23:25
rrrado26-Nov-02 23:25 
GeneralRe: Dialog in CWinThread Pin
Rage27-Nov-02 1:32
professionalRage27-Nov-02 1:32 
GeneralRe: Dialog in CWinThread Pin
rrrado27-Nov-02 4:04
rrrado27-Nov-02 4:04 
GeneralRe: Dialog in CWinThread Pin
Alvaro Mendez27-Nov-02 11:31
Alvaro Mendez27-Nov-02 11:31 
GeneralCListCtrl item editing and OnNotify Pin
devvvy26-Nov-02 22:49
devvvy26-Nov-02 22:49 
i failed to intercept WM_NOTIFY when i attempt to edit fields of my CListCtrl control in my dialog application..?

Here's my OnNotify code:

BOOL CQGenInstallDlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// TODO: Add your specialized code here and/or call the base class

//<norman: 27-nov-2002="" handle="" editing="" on="" list="" view="" control="" this-="">m_lvSettingList>
UINT nNotCode = 0; //Notification code.
INT nCtrlID = 0; //wParam
LV_DISPINFO* pDispInfo = NULL; //lParam

pDispInfo = (LV_DISPINFO*) lParam;
nNotCode = pDispInfo->hdr.code;

if(nNotCode==LVN_BEGINLABELEDIT)
{
//Pre-edit processing.

}

if(nNotCode==LVN_ENDLABELEDIT)
{
//Post-edit processing.
UINT itemindex = pDispInfo->item.iItem;
CString newText = pDispInfo->item.pszText;
if(newText!="")
{
this->m_lvSettingList.SetItemText(itemindex, 1, newText);
}
}
//

return CDialog::OnNotify(wParam, lParam, pResult);
}


Hope someone can spot this for me. Thanks!

norm
GeneralRe: CListCtrl item editing and OnNotify Pin
Rage26-Nov-02 22:52
professionalRage26-Nov-02 22:52 
GeneralRe: CListCtrl item editing and OnNotify Pin
devvvy26-Nov-02 22:56
devvvy26-Nov-02 22:56 
GeneralRe: CListCtrl item editing and OnNotify Pin
Rage27-Nov-02 2:15
professionalRage27-Nov-02 2:15 
GeneralRe: Accessing xml node names using dom... Pin
Alwin7526-Nov-02 22:37
Alwin7526-Nov-02 22:37 
GeneralRe: Accessing xml node names using dom... Pin
Stephane Rodriguez.26-Nov-02 22:46
Stephane Rodriguez.26-Nov-02 22:46 
QuestionHow paiting my dialog background Pin
Leedoriden26-Nov-02 22:18
Leedoriden26-Nov-02 22:18 
AnswerRe: How paiting my dialog background Pin
Rage26-Nov-02 22:53
professionalRage26-Nov-02 22:53 
GeneralWho can give me the algorithm of arranging classes Pin
happyboy26-Nov-02 22:10
happyboy26-Nov-02 22:10 
GeneralRe: Who can give me the algorithm of arranging classes Pin
Christian Graus27-Nov-02 0:06
protectorChristian Graus27-Nov-02 0:06 
Question1 app - 2 Docs - MDI or SDI? Pin
Stefan Bolder26-Nov-02 22:00
sussStefan Bolder26-Nov-02 22:00 
Questionopen file dialog to select a single DIRECTORY and FOLDERS ONLY? Pin
devvvy26-Nov-02 21:52
devvvy26-Nov-02 21:52 
AnswerRe: open file dialog to select a single DIRECTORY and FOLDERS ONLY? Pin
Rage26-Nov-02 22:49
professionalRage26-Nov-02 22:49 
GeneralRe: open file dialog to select a single DIRECTORY and FOLDERS ONLY? Pin
devvvy26-Nov-02 22:51
devvvy26-Nov-02 22:51 
GeneralHidden window Pin
Jerome Conus26-Nov-02 21:47
Jerome Conus26-Nov-02 21:47 
GeneralRe: Hidden window Pin
Shamoon26-Nov-02 22:24
Shamoon26-Nov-02 22:24 
GeneralRe: Hidden window Pin
Jerome Conus27-Nov-02 0:18
Jerome Conus27-Nov-02 0:18 
GeneralUpload/Download Threading GUI Pin
Sparticus26-Nov-02 21:02
Sparticus26-Nov-02 21:02 

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.