Click here to Skip to main content
15,885,771 members
Home / Discussions / C#
   

C#

 
GeneralRe: How You Check Data In DataSet? Pin
Rajesh R Subramanian21-Jun-09 6:03
professionalRajesh R Subramanian21-Jun-09 6:03 
GeneralRe: How You Check Data In DataSet? Pin
EliottA22-Jun-09 2:49
EliottA22-Jun-09 2:49 
QuestionStrange Dataset problem! [modified] Pin
Muammar©20-Jun-09 22:39
Muammar©20-Jun-09 22:39 
AnswerRe: Strange Dataset problem! Pin
Mycroft Holmes20-Jun-09 23:15
professionalMycroft Holmes20-Jun-09 23:15 
AnswerSolved! Pin
Muammar©20-Jun-09 23:24
Muammar©20-Jun-09 23:24 
QuestionGDI+, problem with Invalidate() method Pin
cppwxwidgetsss20-Jun-09 21:16
cppwxwidgetsss20-Jun-09 21:16 
AnswerRe: GDI+, problem with Invalidate() method Pin
Christian Graus21-Jun-09 0:37
protectorChristian Graus21-Jun-09 0:37 
AnswerRe: GDI+, problem with Invalidate() method Pin
OriginalGriff21-Jun-09 0:50
mveOriginalGriff21-Jun-09 0:50 
To add to what Chris said, it is probably that you are continually firing Paint messages - why not use MouseEnter and MouseLeave to handle the re-paint? That way, you don't recalculate on every mouse move, and you only fire the Paint when the image should be changing.

BTW: it is not good practice to use absolute numbers for mouse position checking - why not use the position of the button instead?

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

Questionautocomplete selection Pin
Iain Wiseman20-Jun-09 19:33
Iain Wiseman20-Jun-09 19:33 
AnswerRe: autocomplete selection Pin
dan!sh 20-Jun-09 21:42
professional dan!sh 20-Jun-09 21:42 
GeneralRe: autocomplete selection Pin
Iain Wiseman20-Jun-09 22:43
Iain Wiseman20-Jun-09 22:43 
GeneralRe: autocomplete selection Pin
dan!sh 20-Jun-09 23:19
professional dan!sh 20-Jun-09 23:19 
GeneralRe: autocomplete selection Pin
Iain Wiseman21-Jun-09 11:17
Iain Wiseman21-Jun-09 11:17 
QuestionGet PropertyGrid to update? Pin
FocusedWolf20-Jun-09 19:01
FocusedWolf20-Jun-09 19:01 
AnswerRe: Get PropertyGrid to update? Pin
dan!sh 20-Jun-09 23:55
professional dan!sh 20-Jun-09 23:55 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 9:09
FocusedWolf21-Jun-09 9:09 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 9:16
FocusedWolf21-Jun-09 9:16 
GeneralRe: Get PropertyGrid to update? Pin
dan!sh 21-Jun-09 16:46
professional dan!sh 21-Jun-09 16:46 
GeneralRe: Get PropertyGrid to update? Pin
FocusedWolf21-Jun-09 19:08
FocusedWolf21-Jun-09 19:08 
GeneralFocus losing in propertygrid Pin
VB 8.07-Jul-09 23:41
VB 8.07-Jul-09 23:41 
QuestionDatagridview combobox in column header Pin
desir10220-Jun-09 13:39
desir10220-Jun-09 13:39 
AnswerRe: Datagridview combobox in column header Pin
MarkB77720-Jun-09 17:40
MarkB77720-Jun-09 17:40 
AnswerRe: Datagridview combobox in column header Pin
Manas Bhardwaj20-Jun-09 21:33
professionalManas Bhardwaj20-Jun-09 21:33 
QuestionRemote desktop shown to another client? Pin
Member 465319820-Jun-09 12:38
Member 465319820-Jun-09 12:38 
QuestionExcel like Selection? Pin
Megidolaon20-Jun-09 12:21
Megidolaon20-Jun-09 12:21 

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.