Re: Single-instance support on Windows

2006-11-12 Thread Andre Poenitz
On Sat, Nov 11, 2006 at 12:45:31AM +0100, Jean-Marc Lasgouttes wrote: > Joost> should be sent to all open windows using EnumWindows. In > Joost> GuiApplication.C, a WinEventHandler function can capture this > Joost> message and send a return value, so the calling process knows > Joost> that LyX is

Re: Single-instance support on Windows

2006-11-10 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Like on Mac OS X, this is the standard Joost> behavior for Windows applications. Well, this may be the standard behaviour of office, but I doubt it is a real standard... Joost> A mutex should be created using CreateMutex and a uni

Single-instance support on Windows

2006-11-09 Thread Joost Verburg
Hi, Here is a detailed description of how single-instance support can be implemented on Windows. This feature will allow users to open LyX files using the Windows explorer in the current LyX process, so copy & paste works and data is shared between all windows. Like on Mac OS X, this is the s