Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » How to load cursor resourse? Collapse All
Subject Author Date
Gevork Odabashyan Jan 31, 2007 - 10:56 AM

Hello

As far as I understand I must use CExtResourceManager::LoadBitmap to load image into CExtBitmap-object. What next?

Technical Support Feb 1, 2007 - 4:51 AM

If you need to create the cursor from a bitmap, you can create a GDI bitmap handle and use it when calling the CreateIconIndirect() API (there is actually no difference between icons and cursors). If you need to load a cursor resource, simply use the LoadCursor() API.