Drawing bug! |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 11 February 2008 at 6:46am |
I handle right-click in my CXTPreportControl:
ON_NOTIFY(NM_RCLICK, IDC_REPORT_IMAGE_CONTROL, OnReportRightClick)
In this notify-handler I show a popup menu:
int selectedID = CXTPCommandBars::TrackPopupMenu(pPopupBar, TPM_TOPALIGN | TPM_LEFTALIGN | TPM_LEFTBUTTON | TPM_NONOTIFY | TPM_RETURNCMD, pItemNotify->pt.x, pItemNotify->pt.y, AfxGetMainWnd());
If I select row 1 and then right-click on row 2, I get this drawing bug: This does not happen if I first select row 2 using left-click!
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Please don't forget about this one in v12.0. It should be fairly easy to fix.
|
|
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 |