Locked (modal?) dialogs

new topic     » topic index » view thread      » older message » newer message

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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu