Thread View: news.software.readers
1 messages
1 total messages
Started by Wayne Menzie
Sun, 20 Feb 2000 00:00
Re: Xnews suggestion: Restore window on multiple instances
Author: Wayne Menzie
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
30 lines
1752 bytes
1752 bytes
mrh99@uswest.net (Matthew Haley) wrote in <8EE06FFAmrh99uswestnet@207.225.159.8>: >>>You are already preventing multiple instances of Xnews. Would you >>>consider restoring the previous instance if it is minimized when you >>>try to start a new one? >>> >> >>It doesn't do that now? That's strange. I do have >>Application.BringToFront in the restart routine. > >If Xnews is behind another window and you try to open another instance, >then Xnews will come to the front. If Xnews is minimized, it doesn't do >anything. Thanks. That was the behavior I was trying to describe. Luu, something like this should do the trick: if IsIconic(Application.Handle) then begin Application.MainForm.WindowState := wsNormal; Application.Restore; end; SetForegroundWindow(Application.MainForm.Handle); Wayne Menzie
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads