Hi Scott,
Not tested, but
you might try playing with API
DECLARE Long ShowWindow In Win32API Long, Long
ShowWindow(_Screen.hWnd, 4)
note, the 4 in the second argument is SW_SHOWNOACTIVATE: Displays a window at its most recent size and location. Does not change the active window.
If you google VFP ShowWindow you'll find several examples.
>I have a form that runs in the background, and periodically checks to see if there are any new entries in a table (A "To Do"/"Schedule" notification form). My users complain that it "pops up" (gee, imagine that) when they are in the middle of something and they loose keystrokes because of it.
>
>So they want the option to make it become visible, but in the background. They don't want it to become the active form.
>
>I can't figure out how to make this work. Thisform.Visible =.T., makes it active. Thisform.Show(), makes it active... I just want it to become visible, but stay where it is in the focus stack.
>
>Any ideas?
>
>Thanks,
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement