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

    Jon Summers
    Jon Summers
    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…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • C++ ListModel Manager for ComboBox and ListBox Hook Classes

    Jon Summers
    Jon Summers
    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…
    • over 4 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • [CONNECT C++] DialogItemHookHandler Lifetime

    Jon Summers
    Jon Summers
    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…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • [CONNECT C++] DialogItemHookHandler

    Jon Summers
    Jon Summers
    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…
    • Answered
    • over 6 years ago
    • MicroStation Programming
    • MicroStation Programming Forum