Some times ago I used RTF2 in an application, and I wanted to use a
custom RTF2 popup menu.
To accomplish this I use subclassing.
This can be implemented either with Win32 API or with some subclassing
I choose the later approach, for simplicity, using for subclassing the
Subclass.ocx control from SoftCircuits (see threed
I created a demo app to show how to accomplish this. It is based on
demo MDB from RTF2 website which shows how to resize RTF2 on reports.
You can download it from
It contains the MDB and the control Subclass.ocx.
Please send me any comments or thought about this.
PS: Attn. to mr Stephen Lebans: Please feel free to include this on
RTF2 website as a sample on how to create a custom popup menu with RTF2
(bzamfir at gmail dot com)
Independent Consultant and Software Developer