Hi Will,
To calculate an objects position, use ObjToClient.
Use The ScaleMode property to set how the values should be return... pixels or foxels.
I don't think you will be able to redefine the messagebox, but you could define your own little messagewindow.
Laters
Mace
>Hi Macer,
>
>Yes that works - but not brilliantly
>
>The problem with using mRow and mCol is that it's mouse related I really want something that is control related.
>
>There must be a way to convert x,y coordinates in pixels (as passed into MouseMove) into columns and rows... or maybe I should use a control which can have it's position specified in pixels.
>
>And lastly I just need someone to re-write the messagebox to look just like the tooltip message :)
>
>Maybe i'll have a closer look at that fancyToolTips control
>
>Cheers
>Will
>
>>Hello,
>>
>>Would something like the following be useful:
>>
>>WAIT WINDOW "Fred" AT MROW( _SCREEN.Caption), MCOL( _SCREEN.Caption)
>>
>>Mace
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement