For many years we have written dialog item hook functions using procedural code. You can continue that way with MicroStation CONNECT, but the MicroStationAPI offers a better way: dialog and dialog item hook classes.
The hook classes replace the MDL…
An MDL dialog item usually has an access string that connects it to a published global variable. Here's an example taken from the delivered DialogBoxDemo ...
DItem_TextRsc TEXTID_DialogDemoColor =
{
NOCMD, LCMD, SYNONYMID_DialogDemoColor, NOHELP,…