Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enumerate QM tollbar items
#1
I understand that using a statement in the form SendMessage(c TB_BUTTONCOUNT 0 0) one can enumerate the items in a toolbar. However, I experienced that if the toolbar function - qm item, has some commented lines (first character is space) these are included in the enumeration as well. I wonder whether there exists another work around. Many thanks in advance, best regards.
#2
Comments are invisible buttons.
If you get button properties with SendMessage(TB_GETBUTTON), in TBBUTTON.fsState there is flag TBSTATE_HIDDEN.
Alternative - use accessible object functions. Role of invisible buttons is different.
#3
Thank you for your advice. I have also found usefulTB_GETSTATE .

I wonder whether something is changed, but I have not received an e-mail message for your reply. Best regards.


Forum Jump:


Users browsing this thread: 1 Guest(s)