Print Page | Close Window

Drawing bug!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=9555
Printed Date: 16 November 2024 at 1:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drawing bug!
Posted By: znakeeye
Subject: Drawing bug!
Date 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!



Replies:
Posted By: znakeeye
Date Posted: 29 February 2008 at 7:30am
Please don't forget about this one in v12.0. It should be fairly easy to fix.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net