Board index » cppbuilder » Using Resource Cursors from Library
Tom Hubbell
![]() CBuilder Developer |
Using Resource Cursors from Library2005-02-19 04:20:03 AM cppbuilder25 Not sure if this is the right place for this but... I have a graphics library I'm building that I wish to be able to include in various projects. The library contains a VCL object derived from the TCustomPanel class. I need to change the cursor for this object at runtime; however, when I create a resource file containing my custom cursors and add it to the lib project, I still cannot get them to load via the LoadCursor function. I consistently get a NULL value returned when calling this function. I've tried creating a separate resource file (not named after the library) with the same results. I'm thinking my HInstance may incorrect or the resources are not getting linked in properly. Any thoughts? Thanks in advance, Tom Hubbell |