NewCCursor

Last Revision:
Version 1.0, 2003-01-14
Shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand.
Build Requirements:
Carbon ColorQuickDraw
Runtime Requirements:
Carbon ColorQuickDraw

This snippet shows how to create a black and white 'CURS' and a color 'crsr' cursor resource by hand. After creation SetCursor for 'CURS' or SetCCursor for 'crsr' is used to set the application cursor to the new resource. Requirements: ColorQuickDraw Keywords: Color Cursor, GetGWorldPixMap, LockPixels, DrawPicture, GetGWorld, rowBytes, SetCursor, DisposeGWorld