code/w32.gdi/quarantine/CustomCursor.hpp
CustomCursor ( ::POINT hotspot, ::HBITMAP mask, ::HBITMAP color )
            : myInfo(hotspot,mask,color),
              myHandle(::CreateIconIndirect(&myInfo.get()))
        {
            if ( myHandle.bad() ) {
                UNCHECKED_WIN32C_ERROR(CreateIconIndirect,::GetLastError());
            }
        }
// Create a user defined cursor from bitmaps.
// Please try out and document this...
Create a user defined cursor from bitmaps.
Please try out and document this
Create a user defined cursor from bitmaps . Please try out and document this
CustomCursor ( ::POINT hotspot, ::HBITMAP mask, ::HBITMAP color )
            : myInfo(hotspot,mask,color),
              myHandle(::CreateIconIndirect(&myInfo.get()))
        {
            if ( myHandle.bad() ) {
                UNCHECKED_WIN32C_ERROR(CreateIconIndirect,::GetLastError());
            }
        }
CustomCursor ( :: POINT hotspot , :: HBITMAP mask , :: HBITMAP color ) : myInfo ( hotspot , mask , color ) , myHandle ( :: CreateIconIndirect ( & myInfo . get ( ) ) ) { if ( myHandle . bad ( ) ) { UNCHECKED_WIN32C_ERROR ( CreateIconIndirect , :: GetLastError ( ) ) ; } }
Create a user defined cursor from bitmaps.
Create a user defined cursor from bitmaps .