Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my project change cursor shape only in mypanel but shape change according to top,left position (if (top,left) cursor corner out panel change

I need to change relative (low,left) and cursor.position get position (low,left) corner ?

thank for help me
Posted
Comments
Bala Selvanayagam 27-Sep-11 11:16am    
shadiabusamra,

Am i right in saying that you want to change the cursor shape when the mouse is moved over a panel of a form and the cursor shape will become normal when the mouse pointer come out of the panel..Sorry i did not get the requirement.
shadiabusamra 27-Sep-11 13:05pm    
i need to change actual position on cursor which make click
default in cursor (0,0) point when over button allow to press but if point (0,height) when over button and click event not throw
shadiabusamra 27-Sep-11 13:05pm    
i need to change actual position on cursor which make click
default in cursor (0,0) point when over button allow to press but if point (0,height) when over button and click event not throw

1 solution

position_relative_to_bottom_left = position_relative_to_top_left - [0, height]

Is this what you mean? Your question is quite unclear.
 
Share this answer
 
Comments
shadiabusamra 27-Sep-11 13:06pm    
i need to change actual position on cursor which make click
default in cursor (0,0) point when over button allow to press but if point (0,height) when over button and click event not throw
BobJanova 27-Sep-11 16:55pm    
That didn't make sense. You might have more luck on a site in your primary language.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900