[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Winapi - a minimal but useful Windows API binding
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 12 Jun 2011 17:23:07 +0200
On Sun, Jun 12, 2011 at 2:13 PM, GrayFace <sergroj@mail.ru> wrote:
> Maybe it would be better to have a variable list of flags, like
> MessageBox(caption, msg, "yesno", "error")
I actually prefer that kind of API, because otherwise one's code
becomes full of ugly constants like winapi.MB_OK +
winapi.MB_ICONERROR. Windows programming does not have to be so hard
on the eyes and brain ;)
steve d.