Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Making Image Control "Hot" on MouseOver_Event
 

Making Image Control "Hot" on MouseOver_Event

How do you set up an image contro so that it changes in appearance when the cursor is moved acroos it. I am assuming that you use the MouseOver_Event. Do you need to put two separate controls on top of each other (one hot and one cold) and then make the hot visible during the MouseOverr_Event.

Thanks

EM
ExcelMonkey  Friday, April 03, 2009 3:10 PM
Hi ExcelMonkey,

I think adding two controls would be much easiler. However, this is not the only way. We can also draw the image with GDI+ in the MouseOver_Event.

Best regards,
Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Thursday, April 09, 2009 4:18 AM
Hi ExcelMonkey,

I think adding two controls would be much easiler. However, this is not the only way. We can also draw the image with GDI+ in the MouseOver_Event.

Best regards,
Bruce Zhou
Please mark the replies as answers if they help and unmark if they don't.
Bruce.Zhou  Thursday, April 09, 2009 4:18 AM

You can use google to search for other answers

Custom Search

More Threads

• How to add controls(components) to a form at design time?
• KB928365, Infragistics UltraWinGrid (Preset Manager), and "Fatal Execution Engine Error"
• Change maximum designable Form size
• GridView control paging issue
• windows control library developed in vb.net(window application) can be used in asp.net(web application)
• How to show next previous records in VB.Net 2005?
• Custom panel not refreshing properly in designer
• tag is missing
• Is there any way to spin through the objects in a property grid
• Change Font Color While Typing