Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - TrackPopupMenu issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TrackPopupMenu issue

 Post Reply Post Reply
Author
Message
venkyhyd View Drop Down
Groupie
Groupie


Joined: 29 June 2006
Location: India
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote venkyhyd Quote  Post ReplyReply Direct Link To This Post Topic: TrackPopupMenu issue
    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

 

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.156 seconds.