Print Page | Close Window

TrackPopupMenu issue

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7673
Printed Date: 03 May 2024 at 7:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: TrackPopupMenu issue
Posted By: venkyhyd
Subject: TrackPopupMenu issue
Date Posted: 26 July 2007 at 8:08am

Hi,

On Rbutton Click of the mouse on the View I am creating a popupmenu and displaying the same. This works fine when the right click is done on cetner of the view or where their is enough space to show the popup menu in drop down. But the issue comes when the popup menu drops up (towards top). It sends a WM_RBUTTONUP message and WM_PAINT message immediatley after RBUtton Down and popmenu is shown, which will force repainting the view. Why is this scenario not seen in case of popup menu is dropped down.

I think that the mouse cursor in case of Popup menu dropped down is few pixels inside the menu and in popup menu shown towards up the mouse cursor is just out of the menu and is on the view, which will send the mouse up messsage and paint message immediately.

Can you please suggest on this.

thanks

 




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