On Sun, 6 Dec 2009 18:58:49 +0100
"Enrico Maria Giordano" <[email protected]> wrote:
> The following code from hb_gt_w32_setClipboard() doesn't make sense, if I'm
> not wrong:
>
> DWORD lcid = (DWORD) GlobalLock( hglbLocale );
> lcid = LOCALE_USER_DEFAULT;
It translated into something by the following macros:
#define LOCALE_USER_DEFAULT (MAKELCID(LANG_USER_DEFAULT, SORT_DEFAULT))
#define MAKELCID(lgid, srtid) ((DWORD)((((DWORD)((WORD )(srtid))) << 16) | \
((DWORD)((WORD )(lgid)))))
--
Andi
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers