TMyImgButton = class(TGraphicControl)
private
......
procedure CMMouseEnter(var Msg : TMessage);message CM_MOUSEENTER;
procedure CMMouseLeave(var Msg : TMessage);message CM_MOUSELEAVE;
........
protected
public
end;
......
The above code is a code snippet from a component.When i use the component in a exe application,it works fine meaning it can receive mouse enter and leave events.But when i use it in a dll application the enter/leave messages can not be gotten!
pleqse tell me why it happens! i know the CM_MOUSEENTER and CM_MOUSELEAVE are not standard windows message but i really want to know how i can feel the mouse enter and leave events in my component.
Any suggestions are appreciated!
I want to emigrate Canada or Australia. Any relative information you supplied will be appreciated!
zallen@cmmail.com
ICQ:101229409
private
......
procedure CMMouseEnter(var Msg : TMessage);message CM_MOUSEENTER;
procedure CMMouseLeave(var Msg : TMessage);message CM_MOUSELEAVE;
........
protected
public
end;
......
The above code is a code snippet from a component.When i use the component in a exe application,it works fine meaning it can receive mouse enter and leave events.But when i use it in a dll application the enter/leave messages can not be gotten!
pleqse tell me why it happens! i know the CM_MOUSEENTER and CM_MOUSELEAVE are not standard windows message but i really want to know how i can feel the mouse enter and leave events in my component.
Any suggestions are appreciated!
I want to emigrate Canada or Australia. Any relative information you supplied will be appreciated!
zallen@cmmail.com
ICQ:101229409