• CONNECT VBA: List Control and the MsComCtrl.ocx

    Jon Summers
    Jon Summers
    MicroStation V8 i provides 32-bit VBA v6.5. As any other implementation of VBA (e.g. Microsoft Office), that lets you reference other 32-bit DLLs. Another name is OCX , when the DLL delivers a user-interface (UI) component. A popular OCX is the MsComCtrl…
    • over 2 years ago
    • MicroStation Programming
    • MicroStation Programming Blog
  • Re: How to allow single row selection in a list box?

    Jon Summers
    Jon Summers
    ListBox Attributes Here's an example ListBox resource definition from a .r file … #include <dlogbox.h> #include <rscdefs.h> DItem_ListBoxRsc LISTBOXID_Symboliser = { NOHELP, MHELP, HOOKITEMID_ListBox, NOARG, LISTATTR_DYNAMICSCROLL | LISTATTR_NOSELECTION…
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition Programming Forum
  • Multiple columns in Listbox

    kristapsLGIA
    kristapsLGIA
    Hello! Does anyone can tell how to create multiple columns in Listbox and how to add text to second column? Perhaps there is a vba example?
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 2004 Edition VBA Forum
  • Re: Listbox Cursor

    Jon Summers
    Jon Summers
    mdlDialog_listBoxAPI The mdlDialog_listBoxXxx API provides many ways of interacting with a ListBox . Most of the time you use that API inside a hook function (callback function) … case DITEM_MESSAGE_STATECHANGED: { ListRow* pRow …
    • over 12 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8 XM Edition Programming Forum
  • Re: editable listboxes

    Jon Summers
    Jon Summers
    Ray: I am trying to get a listbox cell to be editable, but cannot get it to work. You are right to use a ListModel , but incorrect in assuming that a ListBox can be edited. The ListBox is merely the presentation device for a ListModel , and…
    • over 14 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Re: mdlListRow_setStatus( )

    Jon Summers
    Jon Summers
    Data<=>User Interface A ListModel is a data storage utility. You can use a ListModel independently of its usual display widget, the MDL ListBox . However, the API blurs the distinction between data and presentation with functions like mdlListRow_setStatus…
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum
  • Re: ListCell String

    Jon Summers
    Jon Summers
    ListBoxes & ListModels There's an article about ListModels, ListCells, and Cell Editors . There's an example MDL project you can obtain from that page. It shows an example dialog with a ListBox that stores a ListModel . The hooks functions in the…
    • over 11 years ago
    • MicroStation Programming
    • [Archived] MicroStation V8i Programming Forum