Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 21 FEB 1998 10:08:01AM Don Bakke wrote:

I've been experimenting with creating context menus by following the knowledge base document. I don't have any problems getting this to work but I am confused on how it works so I was hoping someone could answer a few questions for me.

How does it know when to display the menu? I've noticed that there is no code (that I'm aware of) that triggers the capturing of the right click of a mouse in the example. Is it relying on a built in feature of the Windows operation system? If so, then was this feature also within Windows 3.x (because it works there as well)?

Thank you,

dbakke@srpcs.com

SRP Computer Solutions


At 21 FEB 1998 10:22AM Don Bakke wrote:

I've noticed that this technique does not work with edittables. I'm assuming this way edittables are classed. Can I work around this in any way, especially if I use the alternative method for emplementing a right click within an edittable?

Is it possible to display a context menu "on demand", i.e. without relying on a built-in Windows feature. I want to, for example, call a pop-up (context) menu by a key combination.

Finally, how does Windows 95's automatic context menu features get suppressed in all of this?

Thank you some more,

dbakke@srpcs.com

SRP Computer Solutions


At 23 FEB 1998 11:12AM Carl Pates wrote:

Hi Don,

I think OI's context menus are part of PS, which calls the TrackPopupMenu API call when it detects the right mouse click ( though I could be wrong Gene/Cam ? ).

I once remember someone telling me that getting the menus to appear at the bottom of each control as per the (then) current Windows UI guidelines was a real pain, so I don't think it's a standard Windows function.

]] I've noticed that this technique does not work with edittables. I'm assuming this way edittables are classed. Can I work around this in any way, especially if I use the alternative method for emplementing a right click within an edittable? ] Is it possible to display a context menu "on demand", i.e. without relying on a built-in Windows feature. I want to, for example, call a pop-up (context) menu by a key combination. ] Finally, how does Windows 95's automatic context menu features get suppressed in all of this? Sprezzatura Ltd[/url]

World Leaders in all things RevSoft (Except VIP)

Thank you some more,

Don Bakke


At 23 FEB 1998 11:12AM Carl Pates wrote:

Hi Don,

I think OI's context menus are part of PS, which calls the TrackPopupMenu API call when it detects the right mouse click ( though I could be wrong Gene/Cam ? ).

I once remember someone telling me that getting the menus to appear at the bottom of each control as per the (then) current Windows UI guidelines was a real pain, so I don't think it's a standard Windows function.

]] I've noticed that this technique does not work with edittables. I'm assuming this way edittables are classed. Can I work around this in any way, especially if I use the alternative method for emplementing a right click within an edittable? ] Is it possible to display a context menu "on demand", i.e. without relying on a built-in Windows feature. I want to, for example, call a pop-up (context) menu by a key combination. ] Finally, how does Windows 95's automatic context menu features get suppressed in all of this? Sprezzatura Ltd[/url]

World Leaders in all things RevSoft (Except VIP)

Thank you some more,

Don Bakke

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/885d54af9e56df6b852565b2005321b3.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1