Browse By Tags

  • [CONNECT C++] ListModel Manager for ComboBox and ListBox Hook Classes

    The MicroStationAPI DialogItemHookHandler class lets us write simpler hook handlers for MicroStation dialog items. They let you avoid the giant MDL switch statement in your procedural hook handler code. The ComboBox and ListBox dialog items share the…
  • C++ ListModel Manager for ComboBox and ListBox Hook Classes

    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…
  • [CONNECT C++] DialogItemHookHandler Lifetime

    I found the DialogItemHookHandler and DialogHookHandler classes tucked away in a corner of the MicroStationAPI help doc. They simplify the task of writing a dialog or dialog item hook (a.k.a. callback function). The classes provides virtual callback methods…
  • [CONNECT C++] DialogItemHookHandler

    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…