]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/dropfiles/dropfiles-docs.factor
Reformat
[factor.git] / basis / windows / dropfiles / dropfiles-docs.factor
index 661f8215dd6e7f0431760ea660288d85826665cc..e3bd97fd3bb10a31f6f1e5bbff0f60c65057db91 100644 (file)
@@ -1,5 +1,5 @@
-! Copyright (C) 2017 Alexander Ilin.
-! See http://factorcode.org/license.txt for BSD license.
+! Copyright (C) 2017-2018 Alexander Ilin.
+! See https://factorcode.org/license.txt for BSD license.
 USING: arrays help.markup help.syntax kernel math
 ui.backend.windows ui.gestures windows.types ;
 IN: windows.dropfiles
@@ -33,7 +33,7 @@ $nl
 "By default, WM_DROPFILES doesn't work either, because the necessary window messages are filtered out from the queue, but it is possible to configure the filters and make it work, see " { $link init-message-filter } "." ;
 
 HELP: init-message-filter
-{ $description "Call " { $snippet "ChangeWindowMessageFilter" } " to allow the window messages necessary for file dropping pass through the filters. This will have a process-wide effect, and will only be called once (when " { $link init-message-filter-done? } " is " { $link POSTPONE: f } ")."
+{ $description "Call " { $snippet "ChangeWindowMessageFilter" } " to allow the window messages necessary for file dropping pass through the filters. This will have a process-wide effect, and will only be called once."
 $nl
 "The API function is only available since Windows Vista, and is not needed in earlier versions. On Windows XP the missing function will cause an exception on the first call, which will be suppressed, and no more calls will be made." }
 { $notes "It is generally preferrable to use " { $snippet "ChangeWindowMessageFilterEx" } ", because it has a per-window-handle effect, thus gives a more fine-grained security control. Unfortunately, the " { $snippet "Ex" } "-version is only available since Windows 7, and in any case the " { $link add-wm-handler } " has global effect for all Factor native windows, so it's not like we are exposing any additional code to potential exploitation." } ;