Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BoundsChecker errors Pin
Deian19-May-04 10:13
Deian19-May-04 10:13 
GeneralRe: BoundsChecker errors Pin
Deian19-May-04 10:18
Deian19-May-04 10:18 
GeneralRe: BoundsChecker errors Pin
David Crow19-May-04 10:28
David Crow19-May-04 10:28 
GeneralRe: BoundsChecker errors Pin
Deian19-May-04 10:36
Deian19-May-04 10:36 
GeneralRe: BoundsChecker errors Pin
John R. Shaw19-May-04 12:30
John R. Shaw19-May-04 12:30 
GeneralRe: BoundsChecker errors Pin
Kelly Herald19-May-04 16:56
Kelly Herald19-May-04 16:56 
GeneralRe: BoundsChecker errors Pin
Joe Woodbury19-May-04 16:59
professionalJoe Woodbury19-May-04 16:59 
GeneralActive X Controls in Dialog Pin
monrobot1319-May-04 4:56
monrobot1319-May-04 4:56 
GeneralRe: Active X Controls in Dialog Pin
Mike Dimmick19-May-04 5:19
Mike Dimmick19-May-04 5:19 
GeneralRe: Active X Controls in Dialog Pin
monrobot1319-May-04 6:44
monrobot1319-May-04 6:44 
GeneralRe: Active X Controls in Dialog Pin
Andrew Quinn AUS19-May-04 5:57
Andrew Quinn AUS19-May-04 5:57 
GeneralRe: Active X Controls in Dialog Pin
monrobot1319-May-04 6:48
monrobot1319-May-04 6:48 
GeneralRe: Active X Controls in Dialog Pin
Andrew Quinn AUS19-May-04 8:46
Andrew Quinn AUS19-May-04 8:46 
GeneralRe: Active X Controls in Dialog Pin
monrobot1319-May-04 9:02
monrobot1319-May-04 9:02 
GeneralCant rebuild ClassView file Pin
Wheatbread19-May-04 4:50
Wheatbread19-May-04 4:50 
GeneralRe: Cant rebuild ClassView file Pin
valikac19-May-04 5:03
valikac19-May-04 5:03 
GeneralRe: Cant rebuild ClassView file Pin
Wheatbread19-May-04 5:06
Wheatbread19-May-04 5:06 
GeneralRe: Cant rebuild ClassView file Pin
jmkhael19-May-04 5:03
jmkhael19-May-04 5:03 
GeneralRe: Cant rebuild ClassView file Pin
Wheatbread19-May-04 5:07
Wheatbread19-May-04 5:07 
GeneralRe: Cant rebuild ClassView file Pin
bikram singh19-May-04 5:55
bikram singh19-May-04 5:55 
GeneralRe: Cant rebuild ClassView file Pin
*Dreamz20-May-04 19:28
*Dreamz20-May-04 19:28 
GeneralCustomDraw and ClistCtrl's SubItem Pin
amit_k_gupta19-May-04 4:41
amit_k_gupta19-May-04 4:41 
GeneralRe: CustomDraw and ClistCtrl's SubItem Pin
valikac19-May-04 5:07
valikac19-May-04 5:07 
GeneralRe: CustomDraw and ClistCtrl's SubItem Pin
amit_k_gupta19-May-04 20:42
amit_k_gupta19-May-04 20:42 
Instead of setting Item properties through SetItemData, i set the property through LVITEM structure and removed SendMessage as suggested by you but still not successful. Here is the code

void CTestListCtrlView::OnPopupRed()
{
LVITEM *Item = new LVITEM;
Item->iItem = 2;
m_ListCtrl.GetItem(Item);
Item->mask = LVIF_PARAM;
Item->lParam = 1; // 1 mean red
m_ListCtrl.SetItemData(iItemIndex,(DWORD&)*Item);
m_ListCtrl.Invalidate();
m_ListCtrl.UpdateWindow();
}

I included Invalidate() and UpdateWindow() so that my custom draw method OnCustomdrawMyList() could be called but still i am not getting the lparam value as 1 in my custom draw method. Please help.

Thanks for the reply.
GeneralRe: CustomDraw and ClistCtrl's SubItem Pin
valikac20-May-04 5:13
valikac20-May-04 5:13 

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.