Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Drawing bug!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drawing bug!

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Drawing bug!
    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!
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2008 at 7:30am
Please don't forget about this one in v12.0. It should be fairly easy to fix.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.