Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: While the [Maximize] button is clicked? Pin
Hamid_RT16-Jul-06 9:04
Hamid_RT16-Jul-06 9:04 
GeneralRe: While the [Maximize] button is clicked? Pin
Maxwell Chen16-Jul-06 17:14
Maxwell Chen16-Jul-06 17:14 
QuestionMDI without menu bar Pin
AkiraOne13-Jul-06 22:28
AkiraOne13-Jul-06 22:28 
AnswerRe: MDI without menu bar Pin
Nibu babu thomas13-Jul-06 22:37
Nibu babu thomas13-Jul-06 22:37 
QuestionCListCtrl: subitem edit problem Pin
NoName II13-Jul-06 22:24
NoName II13-Jul-06 22:24 
AnswerRe: CListCtrl: subitem edit problem Pin
AkiraOne13-Jul-06 22:32
AkiraOne13-Jul-06 22:32 
GeneralRe: CListCtrl: subitem edit problem Pin
NoName II13-Jul-06 22:46
NoName II13-Jul-06 22:46 
AnswerRe: CListCtrl: subitem edit problem Pin
NoName II13-Jul-06 23:23
NoName II13-Jul-06 23: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 1:25
Hamid_RT14-Jul-06 1:25 
QuestionUSB-to-COM problem in WinXP Home Edition Pin
tctan13-Jul-06 21:55
tctan13-Jul-06 21:55 
AnswerRe: USB-to-COM problem in WinXP Home Edition Pin
KarstenK13-Jul-06 22:13
mveKarstenK13-Jul-06 22:13 
GeneralRe: USB-to-COM problem in WinXP Home Edition Pin
tctan13-Jul-06 22:20
tctan13-Jul-06 22:20 
GeneralRe: USB-to-COM problem in WinXP Home Edition Pin
NiceNaidu13-Jul-06 23:01
NiceNaidu13-Jul-06 23:01 
GeneralRe: USB-to-COM problem in WinXP Home Edition Pin
tctan13-Jul-06 23:08
tctan13-Jul-06 23:08 
QuestionCreate ActiveX from dialog used other ActiveX Pin
majco33313-Jul-06 21:53
majco33313-Jul-06 21:53 
AnswerRe: Create ActiveX from dialog used other ActiveX Pin
NiceNaidu13-Jul-06 22:49
NiceNaidu13-Jul-06 22:49 
GeneralRe: Create ActiveX from dialog used other ActiveX Pin
majco33313-Jul-06 22:58
majco33313-Jul-06 22:58 
GeneralRe: Create ActiveX from dialog used other ActiveX Pin
NiceNaidu13-Jul-06 23:04
NiceNaidu13-Jul-06 23:04 
GeneralRe: Create ActiveX from dialog used other ActiveX Pin
majco33313-Jul-06 23:27
majco33313-Jul-06 23:27 
QuestionEmbedding SQL in C [modified] Pin
Rajiya13-Jul-06 21:46
Rajiya13-Jul-06 21:46 
AnswerRe: Embedding SQL in C Pin
David Crow14-Jul-06 2:47
David Crow14-Jul-06 2:47 
QuestionWin32 API Pin
Kuroro Rucilful13-Jul-06 21:35
Kuroro Rucilful13-Jul-06 21:35 
AnswerRe: Win32 API Pin
NiceNaidu13-Jul-06 21:40
NiceNaidu13-Jul-06 21:40 
AnswerRe: Win32 API Pin
KarstenK13-Jul-06 22:09
mveKarstenK13-Jul-06 22:09 
AnswerRe: Win32 API Pin
Hamid_RT14-Jul-06 2:14
Hamid_RT14-Jul-06 2: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.