SetWindowPointer
  • Caterpillar
    Caterpillar
    ShInKurO
    Posts: 36 from 2008/5/30
    hi,
    I've a problem which is probably a sincronization's one with MUI4: I use this code to change pointer image into my subclass into dragbegin method:

    if ((muiRenderInfo(obj))&& _window(obj))
    SetWindowPointer(_window(obj), WA_Pointer, data->dropPointer, TAG_DONE);

    with data->dropPointer a pointerclass object.

    When I dispose object in my dispose method I dispose that dropPointer object and before this I've setted:

    SetWindowPointer(_window(obj), WA_Pointer, NULL, TAG_DONE);


    But 90% ways after to have dispose my object I've freeze system, so is there a new way to change pointer images on MorphOS?

    How could I use MorphOS standard image pointers like OWB does? :)

    [ Edited by ShInKurO 01.07.2012 - 10:00 ]
  • »01.07.12 - 08:58
    Profile Visit Website
  • Moderator
    Kronos
    Posts: 2323 from 2003/2/24
    Standard pointer:
    SetWindowPointer(_window(display),WA_PointerType,POINTERTYPE_NORMAL,TAG_DONE); (set to normal)

    More types in intuition/pointerclass.h
  • »01.07.12 - 11:30
    Profile