Home   Help Search Login Register  

Author Topic: onLBDrag -- wiki or implementation bug?  (Read 1225 times)

0 Members and 1 Guest are viewing this topic.

Offline Denisko-Redisko

  • Members
  • *
onLBDrag -- wiki or implementation bug?
« on: 01 Aug 2009, 21:22:57 »
During the drag&drop dragged item doesn't become active. I had hoped to correct this by adding in the handler "LBDrag" following lines:
Code: [Select]
#define arg(X) (_this select (X))
...
arg(0) lbSetCurSel arg(1)

however, the miracle! despite the wiki documentation:
Quote from: wiki
onLBDrag -- Drag & drop operation started. -- Returns the control and the selected element index.
second argument (of LBDrag-handler), it is not a index (CurSel), an array of the contents: [lbText, lbValue, lbData]
Damn, this is a very witty!  :( And how do i work around this problem?
« Last Edit: 01 Aug 2009, 22:01:34 by Denisko-Redisko »
sorry for my english