Re: Color Cursors
- Posted by Bernie <xotron at PCOM.NET> Sep 07, 2000
- 559 views
On Thu, 7 Sep 2000 22:46:47 +0100, chrissy <tubby.toast at NTLWORLD.COM> wrote: Chrissy: Any windows after win95 that contains a parameter that is a STRING will have a "A" ASCII or "W" UNICODE version of the function NAME. The difference is that the ASCII uses 8 bit characters and UNICODE code uses 16 bit characters. UNICODE was added so that international language codes could be passed to windows. There also functions in windows to CONVERT back and forth between ASCII and UNICODE. There are some functions that have the same NAME except one function ends Ex in the function NAME. This stands for EXTRA parameters. If you compare these functions you will see that the Ex contains extra parameters. Bernie >Derek Parnell wrote: > >> The "A" version is for ASCII and the "W" is for Unicode (Wide- characters). > >Thankyou. If I just use the ASCII version, will this work all the time? > >> Look at the XPM support in Win32lib or the Eu contributions/archive. >Sorry, I haven't made myself clear here. I don't need XPMs. I take all the >bitmaps in my program, concatenate them (I experimented with compressing >them as well but it was too slow to load) and tack them on the end of my >executable and I load them, using code ripped straight from >loadBitmapFromFile2() in win32lib, by poking them to memory. I do the same >with wave files. However, I don't know how to load a cursor file in this >way so I'd rather do it from a bitmap if possible. It's not critically >important though. > >chris.