>DECLARE INTEGER CreateCaret IN user32; > INTEGER hWnd, INTEGER hBitmap,; > INTEGER nWidth, INTEGER nHeight >>The second parameter -- if not zero -- is handle to the bitmap that defines the caret shape. To load bitmap image from a file and get its handle, use GDI LoadImage function or similar GDI+ function(s):
>#DEFINE LR_LOADFROMFILE 16 >#DEFINE IMAGE_BITMAP 0 > >DECLARE INTEGER LoadImage IN user32; > INTEGER hinst, STRING lpszName, INTEGER uType,; > INTEGER cxDesired, INTEGER cyDesired, INTEGER fuLoad > >hBitmap = LoadImage(0, "c:\Windows\Metal Links.bmp", IMAGE_BITMAP,; > 0,0, LR_LOADFROMFILE) >... >* on exit >= DeleteObject(hBitmap) >Thanks!
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature