Click here to Skip to main content
15,849,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: While the [Maximize] button is clicked? Pin
Hamid_RT16-Jul-06 10:04
Hamid_RT16-Jul-06 10:04 
GeneralRe: While the [Maximize] button is clicked? Pin
Maxwell Chen16-Jul-06 18:14
Maxwell Chen16-Jul-06 18:14 
QuestionMDI without menu bar Pin
AkiraOne13-Jul-06 23:28
AkiraOne13-Jul-06 23:28 
AnswerRe: MDI without menu bar Pin
Nibu babu thomas13-Jul-06 23:37
Nibu babu thomas13-Jul-06 23:37 
QuestionCListCtrl: subitem edit problem Pin
NoName II13-Jul-06 23:24
NoName II13-Jul-06 23:24 
AnswerRe: CListCtrl: subitem edit problem Pin
AkiraOne13-Jul-06 23:32
AkiraOne13-Jul-06 23:32 
GeneralRe: CListCtrl: subitem edit problem Pin
NoName II13-Jul-06 23:46
NoName II13-Jul-06 23:46 
AnswerRe: CListCtrl: subitem edit problem Pin
NoName II14-Jul-06 0:23
NoName II14-Jul-06 0:23 
wrote smth like this.....

void CGraphDataEdtDlg::OnBeginlabeledit(NMHDR *pNMHDR, LRESULT *pResult)
{
NMLVDISPINFO *pDispInfo = reinterpret_cast<nmlvdispinfo*>(pNMHDR);
if (m_subitem)
{
CEdit *edit=m_list.GetEditControl();
if (edit!=NULL)
{
CRect rtSubItem;
m_list.GetSubItemRect(m_item,m_subitem,LVIR_BOUNDS ,rtSubItem);
edit->MoveWindow(rtSubItem);
CString str;
str.Format(_T("left top(%d,%d)\nright bot(%d,%d)"),rtSubItem.left,rtSubItem.top,rtSubItem.right,rtSubItem.bottom);
AfxMessageBox(str);
edit->SetWindowText(m_list.GetItemText(m_item,m_subitem));

}
}


*pResult = 0;
}

call this function with m_list.EditLabel(item);

as result my editcontroler always covers 0-subitem of item-raw....
AnswerRe: CListCtrl: subitem edit problem Pin
Hamid_RT14-Jul-06 2:25
Hamid_RT14-Jul-06 2:25 
QuestionUSB-to-COM problem in WinXP Home Edition Pin
tctan13-Jul-06 22:55
tctan13-Jul-06 22:55 
AnswerRe: USB-to-COM problem in WinXP Home Edition Pin
KarstenK13-Jul-06 23:13
mveKarstenK13-Jul-06 23:13 
GeneralRe: USB-to-COM problem in WinXP Home Edition Pin
tctan13-Jul-06 23:20
tctan13-Jul-06 23:20 
GeneralRe: USB-to-COM problem in WinXP Home Edition Pin
NiceNaidu14-Jul-06 0:01
NiceNaidu14-Jul-06 0:01 
GeneralRe: USB-to-COM problem in WinXP Home Edition Pin
tctan14-Jul-06 0:08
tctan14-Jul-06 0:08 
QuestionCreate ActiveX from dialog used other ActiveX Pin
majco33313-Jul-06 22:53
majco33313-Jul-06 22:53 
AnswerRe: Create ActiveX from dialog used other ActiveX Pin
NiceNaidu13-Jul-06 23:49
NiceNaidu13-Jul-06 23:49 
GeneralRe: Create ActiveX from dialog used other ActiveX Pin
majco33313-Jul-06 23:58
majco33313-Jul-06 23:58 
GeneralRe: Create ActiveX from dialog used other ActiveX Pin
NiceNaidu14-Jul-06 0:04
NiceNaidu14-Jul-06 0:04 
GeneralRe: Create ActiveX from dialog used other ActiveX Pin
majco33314-Jul-06 0:27
majco33314-Jul-06 0:27 
QuestionEmbedding SQL in C [modified] Pin
Rajiya13-Jul-06 22:46
Rajiya13-Jul-06 22:46 
AnswerRe: Embedding SQL in C Pin
David Crow14-Jul-06 3:47
David Crow14-Jul-06 3:47 
QuestionWin32 API Pin
Kuroro Rucilful13-Jul-06 22:35
Kuroro Rucilful13-Jul-06 22:35 
AnswerRe: Win32 API Pin
NiceNaidu13-Jul-06 22:40
NiceNaidu13-Jul-06 22:40 
AnswerRe: Win32 API Pin
KarstenK13-Jul-06 23:09
mveKarstenK13-Jul-06 23:09 
AnswerRe: Win32 API Pin
Hamid_RT14-Jul-06 3:14
Hamid_RT14-Jul-06 3: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.