1. Locked (modal?) dialogs
Locking dialog boxes wouldn't be too hard, provided you have a =
setFocus(iWindow) procedure. I don't think that exists yet, since =
that's something Windows usually does behind the scenes. However, if =
you can make a procedure like that, locking the dialog involves a very =
simple routine:
procedure onFocus_mainWindow()
if lockedDialogFlag =3D TRUE then
setFocus(lockedDialogFlag) -- assumes lockedDialogFlag is a positive =
-- integer equal to the index of the Dialog Window. When the window is
-- hidden/destroyed, be sure to set lockedDialogFlag to zero.
end if
end procedure
onFocus[mainWindow] =3D routine_id("onFocus_mainWindow")
Is this doable?
Michael J. Sabal
mjs at osa.att.ne.jp
http://home.att.ne.jp/gold/mjs/
PS: To everybody involved in this personal attack thread: COOL YOUR =
JETS,
RETURN TO YOUR CORNERS, and don't respond to another message until you =
can do so in a mature fashion with material appropriate to this list.
2. Re: Locked (modal?) dialogs
At 06:41 PM 6/6/98 +-900, you wrote:
I've been watching the thread about modal dialogs.
I don't have much interest or knowledge re: Windoze,
but my list of api calls says nonmodal dialogs are
created by calling USER 89 (CreateDialog),and modal dialogs
created by calling USER 87 (DialogBox).
No mention of setting any attribute after creation.
Does this have any bearing on the problem?
Irv