Setting Tabstops in a Listbox Control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mefloyd

    Setting Tabstops in a Listbox Control


    Using the SendMessage API, I know how to set tabstops in a list box.
    However, the code only works if the style property of the listbox is
    set to 0 - Standard.

    I would like to set tabs in a listbox with the style set to 1 -
    Checkbox. Does anyone know how to achieve this?

    Regards,

    Michael Floyd
  • Randy Birch

    #2
    Re: Setting Tabstops in a Listbox Control

    No can do ... the checked list does not support the LB_SETTABSTOP message.

    --

    Randy Birch
    MVP Visual Basic

    Please respond only to the newsgroups so all can benefit.


    "mefloyd" <temp@coresoftw aresolutions.co m> wrote in message
    news:vafetvkl9b rjah3puu0j0kqq4 fvhdvn1mc@4ax.c om...
    :
    : Using the SendMessage API, I know how to set tabstops in a list box.
    : However, the code only works if the style property of the listbox is
    : set to 0 - Standard.
    :
    : I would like to set tabs in a listbox with the style set to 1 -
    : Checkbox. Does anyone know how to achieve this?
    :
    : Regards,
    :
    : Michael Floyd


    Comment

    Working...