[Haskell-cafe] Win32 API

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Sep 19 07:36:12 EDT 2009

On Sat, 2009-09-19 at 08:52 +0100, Andrew Coppin wrote:

> This was complicated by a small glitch: Graphics.Win32.Window exposes 
> SendMessage() but does not expose PostMessage(). Kind of an important 
> difference there. Fortunately, it's not actually especially hard to fix 
> this deficiency. (Basically few the source code for the module, copy and 
> paste the line for SendMessage(), and edit it to say PostMessage(). The 
> type signature just happens to be identical.) Is there a reason why this 
> is missing to start with? What other functions are missing? (I didn't 
> see PostQuitMessage() anywhere...)

I doubt there's any reason it was not bound except that it was not
needed by the person who bound the related ones. Send in your patch.


More information about the Haskell-Cafe mailing list