Custom cursor in Carbon build

Hello. I’m getting a ‘Not supported on this platform’ exception when trying to access a custom mouse cursor in a Carbon build that works fine in Cocoa. I can’t find any documentation to explain this. Anyone?

The Carbon framework didn’t support custom mouse cursors that were built at runtime.

Thanks, Joe.

The Carbon framework did support “custom” mouse cursors… just a different kind. These were define as BLACK/White only and were defined with an XML file

its been years since I used them… and there have been a few topics where myself and others had provided apps to create the correct file format.

here are two that I found (don’t have time at the moment to find the app… but search this forum and you should)

<?xml version="1.0"?>
<RBProject>
<block type="Cursor">
 <ObjName>Hourglass</ObjName>
<ItemData><Hex bytes="68">3FF83FF81010155012900920044002800280044008201110129015503FF83FF83FF83FF81FF01FF01FF00FE007C00380038007C00FE01FF01FF01FF03FF83FF800040002</Hex></ItemData>
</block>
</RBProject>
<?xml version="1.0"?>
<RBProject>
<block type="Cursor">
 <ObjName>zoom</ObjName>
<ItemData><Hex bytes="68">00003F00408080408040804080408040804040C03FE000700038001C000E000600003F007F80FFC0FFC0FFC0FFC0FFC0FFC07FC03FE000700038001C000E000600050004</Hex></ItemData>
</block>
</RBProject>

Dave,
Thank you! I did find the app in the forum’s past posts, and it worked like a charm!