![]() |
Giulio Orsero wrote: > I looked into FaxDlg.cpp and saw the > SPI_GETFOREGROUNDLOCKTIMEOUT/SPI_SETFOREGROUNDLOCKTIMEOUT > that should do what the registry hack does automatically. > > However, there are 2 issues: > 1) the SPI_* is in DoModal and I don't see it called in OnInitDialog() (I > assume that is the point when the window is displayed?). OnInitDialog is called during the Initialization of the Dialog. For some unkown reasons the SPI_ calles have no effect, when using it here. At least for W2K it works when using in the DoModal loop. > 2) There are some posts suggesting SPI_* is not sufficient to overcome all > the restrictions detailed in the sdk; they talk about another method > http://www.experts-exchange.com/Programming/Programming_Platforms/Win_Prog/Q_10292714.php > has links to deja/google for some code that uses AttachThreadInput; however I found this link to. But this hack looks too ugly. Probably implementing this will result in an unstable WHFC. Uli -- Ulrich Eckhardt http://www.uli-eckhardt.de Ein Blizableiter auf dem Kirchturm ist das denkbar st�rkste Misstrauensvotum gegen den lieben Gott. (Karl Krauss) ____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*