Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
toolbar drop
#1
how do i use case WM_DROPFILES ?
what is the drop variable ?

currently my one icon on the toolbar is not responding,
instead the dropped file is added.

i really need a toolbar button to act similar as a ppro button.
that means free choise of mouse click (whatever).
like if 3xleft makes something when ifa _exe="dreamweaver"
qm button should be enabled for drop url too.
pi
#2
WM_DROPFILES is sent only for file system files, but not for other objects (control panel, links, etc). QM does not set WS_EX_ACCEPTFILES style for toolbar window, which would cause WM_DROPFILES to be sent. Instead, QM implements IDropTarget interface. Implementing interfaces in QM language would be near impossible.

Maybe in the next QM version QM will send a message to the toolbar window when something is dropped. Then toolbar hook function would receive the message.


Forum Jump:


Users browsing this thread: 1 Guest(s)