XTP_NM_REPORT_DROP and drag cancel |
Post Reply |
Author | |
Mhutabor
Newbie Joined: 12 January 2009 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 24 November 2010 at 4:52am |
Hello!
I have a question about cancelling grag in XTP_NM_REPORT_DROP handler. void CClass::OnReportItemDrop(NMHDR* pNMHDR, LRESULT* pResult) { *pResult = 0; XTP_NM_REPORTDRAGDROP* pItemNotify = (XTP_NM_REPORTDRAGDROP*)pNMHDR; if(pItemNotify->pRecords->GetCount()) { pItemNotify->pRecords->RemoveAt(0); // not working because of ASSERT(!m_bArray) in xtpreportrecord.cpp } //but next is working and prevent all items from being dragged pItemNotify->pRecords->RemoveAll(); } And the question is: can i cancel drag of certain items? Thanks! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |