Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I do “text wrapping” for a text in a button control Pin
Roger Stewart27-Nov-02 3:24
professionalRoger Stewart27-Nov-02 3:24 
GeneralHelp on CryptoAPI under Windows 9x Pin
Anonymous27-Nov-02 0:58
Anonymous27-Nov-02 0:58 
GeneralCWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 0:51
Brian van der Beek27-Nov-02 0:51 
GeneralRe: CWnd::DestroyWindow assertion Pin
Rage27-Nov-02 1:37
professionalRage27-Nov-02 1:37 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 1:43
Brian van der Beek27-Nov-02 1:43 
GeneralRe: CWnd::DestroyWindow assertion Pin
Rage27-Nov-02 1:57
professionalRage27-Nov-02 1:57 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 2:04
Brian van der Beek27-Nov-02 2:04 
GeneralRe: CWnd::DestroyWindow assertion Pin
dabs27-Nov-02 2:44
dabs27-Nov-02 2:44 
GeneralRe: CWnd::DestroyWindow assertion Pin
Brian van der Beek27-Nov-02 2:58
Brian van der Beek27-Nov-02 2:58 
GeneralList Control in place editing Pin
devvvy27-Nov-02 0:36
devvvy27-Nov-02 0:36 
GeneralRe: List Control in place editing Pin
dabs27-Nov-02 3:04
dabs27-Nov-02 3:04 
Generallogonuser with CreateProcessAsUser Pin
r i s h a b h s26-Nov-02 23:55
r i s h a b h s26-Nov-02 23:55 
GeneralRe: logonuser with CreateProcessAsUser Pin
techno_guru27-Nov-02 5:41
techno_guru27-Nov-02 5:41 
GeneralEncryption Pin
AJ12326-Nov-02 23:44
AJ12326-Nov-02 23:44 
GeneralRe: Encryption Pin
Rage27-Nov-02 1:41
professionalRage27-Nov-02 1:41 
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 

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.