I notice that, in addition to the legacy DialogItemMessage and related C-style structs, there is a C++ DialogItemHookHandler class that has various methods to respond to dialog events. See header file dlogitem.h.
However, there's no SDK example that shows how to create and use a DialogItemHookHandler class instance. Does it have to be hooked in to the dialog manager using something akin to mdlDialog_hookPublish ()?
Hi Jon,
Take a look at the following MicroStationAPI.chm help topic that provides some migration information on this topic with code snips.
Modules > Contents & Articles > Getting Started > CONNECT Edition User Interface Porting and Enhancements
C++ Hook Handlers (approx. 3/4 down the page)
HTH,Bob
Answer Verified By: Jon Summers