Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 6.1/6.2, builds 1300-1428 > 1337 – 07 February 2013

CSTATE flag MBST_CHGTIPMNU

Scroll Prev Top Next More

AUI_CONTROL enhancement: new CSTATE flag MBST_CHGTIPMNU (&h02000000) may be used with CTLOP_CHG to change just the context menu for the control. Previously you could have also done this with MBST_CHANGEX, but it effectively deletes and re-adds the entire control, creating a possible "flicker", and also requiring that you pass all of the parameters. With MBST_CHGTIPMNU, other parameters such as the coordinates, type, etc. are ignored and left alone.

See sample program ICOMNUBAR[908,27] for an example of using the feature to change the enabled/disabled state of icon context menus.