Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QmRegisterDropTarget; Toolbar drag drop, button double click
#23
Gintaras Wrote:Get id when you know index?

well until now i even had no index.

Code:
Copy      Help
,case WM_QM_DRAGDROP
,,QMDRAGDROPINFO& di=+lParam
,,POINT pp; xm(pp htb)
,,int btn_index=SendMessage(htb TB_HITTEST 0 &pp)
,,out btn_index

but id is not so important, because i have all relevant button infos stored in an array.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)