Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-16 00:55:06


----- Original Message -----
From: "Jason Shirk" <jasonsh_at_[hidden]>

> I assume the question is how to suppress any message box or window that
> any random assert implementation might use.
>
> If so, I don't have the answer. The ideas I do have are too complicated
> to bother with for this problem.

I remember a trick I had to use when imlementing printing on windows, in
order to get a record of the printer's settings without making them deal
with a dialog box. It involved some kind of hook that posted an event to
press the dialog's OK button before it was ever seen. This was from MSDN,
I'm pretty sure. Ugly, but effective.

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk