Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
AnswerRe: Object Oriented Programming Pin
Christian Graus11-May-08 22:34
protectorChristian Graus11-May-08 22:34 
AnswerRe: Object Oriented Programming Pin
ssclaire13-May-08 3:58
ssclaire13-May-08 3:58 
QuestionCollection Class????? Pin
Seema Gosain11-May-08 21:22
Seema Gosain11-May-08 21:22 
AnswerRe: Collection Class????? Pin
Christian Graus11-May-08 21:25
protectorChristian Graus11-May-08 21:25 
QuestionHighLight Picture Box on Mouse Over using c# Pin
subhash1 2311-May-08 21:15
subhash1 2311-May-08 21:15 
AnswerRe: HighLight Picture Box on Mouse Over using c# Pin
Christian Graus11-May-08 21:21
protectorChristian Graus11-May-08 21:21 
GeneralRe: HighLight Picture Box on Mouse Over using c# Pin
subhash1 2311-May-08 22:46
subhash1 2311-May-08 22:46 
GeneralRe: HighLight Picture Box on Mouse Over using c# Pin
Christian Graus11-May-08 23:11
protectorChristian Graus11-May-08 23:11 
Well, it would involve actual programming.

In your class, handle the Paint message. In there, draw your picture. Have a boolean flag to say if the mouse is over the image. When the mouse moves, set that bool and call Invalidate() if it changes, to redraw the image. In the paint event, draw the highlight around or over the image ( for example, I'd consider a semi opaque box over the top of it ), if the flag is true.

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

Questionhi Christian Pin
Umesh873811-May-08 21:14
Umesh873811-May-08 21:14 
AnswerRe: hi Christian Pin
Christian Graus11-May-08 21:20
protectorChristian Graus11-May-08 21:20 
GeneralRe: hi Christian Pin
J4amieC11-May-08 22:43
J4amieC11-May-08 22:43 
GeneralRe: hi Christian Pin
Vikram A Punathambekar11-May-08 22:52
Vikram A Punathambekar11-May-08 22:52 
GeneralRe: hi Christian Pin
Christian Graus11-May-08 23:12
protectorChristian Graus11-May-08 23:12 
GeneralRe: hi Christian Pin
Anthony Mushrow12-May-08 1:44
professionalAnthony Mushrow12-May-08 1:44 
QuestionHow to make Property window readonly at runtime [modified] using c# Pin
subhash1 2311-May-08 21:08
subhash1 2311-May-08 21:08 
AnswerRe: How to make Property window readonly at runtime [modified] using c# Pin
Christian Graus11-May-08 22:09
protectorChristian Graus11-May-08 22:09 
Questionsearch for torrent files Pin
Umesh873811-May-08 21:02
Umesh873811-May-08 21:02 
AnswerRe: search for torrent files Pin
Christian Graus11-May-08 21:05
protectorChristian Graus11-May-08 21:05 
GeneralRe: search for torrent files Pin
Umesh873811-May-08 21:19
Umesh873811-May-08 21:19 
GeneralRe: search for torrent files Pin
Christian Graus11-May-08 21:24
protectorChristian Graus11-May-08 21:24 
GeneralRe: search for torrent files Pin
Umesh873811-May-08 21:27
Umesh873811-May-08 21:27 
Questiontransfer parameter to thread via .NET 1.0 [modified] Pin
shinboxe11-May-08 20:52
shinboxe11-May-08 20:52 
AnswerRe: transfer parameter to thread via .NET 1.0 Pin
#realJSOP11-May-08 23:47
professional#realJSOP11-May-08 23:47 
GeneralRe: transfer parameter to thread via .NET 1.0 Pin
shinboxe12-May-08 3:02
shinboxe12-May-08 3:02 
GeneralRe: transfer parameter to thread via .NET 1.0 [modified] Pin
#realJSOP12-May-08 5:27
professional#realJSOP12-May-08 5:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.