Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

WinLib.Utils.ShutdownBlockQuery

Andrew edited this page Apr 4, 2014 · 3 revisions

#WinLib.Utils.ShutdownBlockQuery

##Method Signature Protected Function ShutdownBlockQuery(OwnerWindow As Window = Nil) As String

##Parameters

Name Type Comment
OwnerWindow Window The window that owns the block. (Optional)

##Return value The reason string for the block, if any.

##Notes Returns the reason for the block owned by OwnerWindow or an empty string.

OwnerWindow identifies the block, and there may be more than one block active at any given moment. If you do not pass a window then your application's frontmost window will be used (AKA Window(0).)

##See also

Clone this wiki locally