HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] whfc and faxno window on top on WinXP.



On Mon, 18 Aug 2003 12:57:02 +0200, Ulrich Eckhardt <uli.e@gmx.de> wrote:

>Giulio Orsero wrote:
>> If you use whfc you know that on some os (ie: winxp) when you print from an
>> app to the whfc printer, the dialog asking the faxno stays in the background
>> (you have to right click the tray area icon to make it visible).

>have you testet this against the latest Beta?  Theoretically this
>should work now correctly.

Yes, I tested it but it does not work; it would be interesting to see if
other winxp users have tried it out.

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?).
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
some other places say that AttachThreadInput does not work anymore and the
only way is SPI_.

-- 
giulioo@pobox.com

____________________ 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.*




Project hosted by iFAX Solutions