]> gitweb.factorcode.org Git - factor.git/blob - basis/windows/dragdrop-listener/dragdrop-listener-docs.factor
ui.listener: document that ~/.factor-history persists input history
[factor.git] / basis / windows / dragdrop-listener / dragdrop-listener-docs.factor
1 ! Copyright (C) 2017, 2023 Alexander Ilin.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax kernel windows.ole32 ;
4 IN: windows.dragdrop-listener
5
6 ABOUT: "windows.dragdrop-listener"
7
8 ARTICLE: "windows.dragdrop-listener" "Dropping files onto listener window"
9 "The " { $vocab-link "windows.dragdrop-listener" } " vocab is a demo of the COM wrapping facilities. It allows you to drag-and-drop files from the Explorer onto a listener window, and have the array of file names added to the current data stack." $nl
10 "Register the current listener window to accept file drops:"
11 { $subsections dragdrop-listener-window } ;
12
13 HELP: dragdrop-listener-window
14 { $description "Run this word from a listener to activate drag-and-drop support for the listener window:" { $code "dragdrop-listener-window" }
15 "Note: if you get the \"" { $snippet "COM error 0x8007000e" } "\", you need to call " { $link ole-initialize } " first." } { $code "USE: windows.ole32 ole-initialize" } ;