If the default is not appropriate, then the programmer needs to supply the owner. This
argument can be any CAPI pane that is currently displayed, and the top level interface of the pane is used as the actual owner. A CAPI pane owner must be running in the current process (see the
). Creating cross-process ownership can lead to deadlocks.
can also be a
object, which tells the system on which screen to put the dialog, but none of the windows will be the dialog's owner.
can be supplied by the keyword argument
in functions such as
. Other functions such as
can be supplied an owner in the
list as a pair
CAPI User Guide (Windows version) - 30 Aug 2011