Click here to Skip to main content
16,011,685 members
Home / Discussions / C#
   

C#

 
GeneralChanging a form's title Pin
eggie57-Aug-03 15:17
eggie57-Aug-03 15:17 
GeneralRe: Changing a form's title Pin
J. Dunlap7-Aug-03 15:20
J. Dunlap7-Aug-03 15:20 
GeneralRe: Changing a form's title Pin
eggie57-Aug-03 15:30
eggie57-Aug-03 15:30 
GeneralRe: Changing a form's title Pin
Rein Hillmann7-Aug-03 21:11
Rein Hillmann7-Aug-03 21:11 
GeneralRe: Changing a form's title Pin
freshthinking8-Aug-03 0:07
freshthinking8-Aug-03 0:07 
GeneralColor or Colour Pin
totig7-Aug-03 12:23
totig7-Aug-03 12:23 
GeneralRe: Color or Colour Pin
J. Dunlap7-Aug-03 12:51
J. Dunlap7-Aug-03 12:51 
GeneralHandle mouse move events in C# Pin
sumeat7-Aug-03 9:20
sumeat7-Aug-03 9:20 
Hi,


I have a MDI application, which has a workspace (a form) and a tool bar window. User can create new forms and place controls from the tool bar onto this forms. They should be able to move controls on this form.

Here is the problem:

To let user move controls around on the form, I handle the MouseDown, MouseMove and MouseUp events for the selected control. In the MouseMove event handler I compute (using the location value saved in Mouse Down event) the new location for the control and set it as the location of the control. This somehow cause more mouse move events on the control - this is because, I think, the assignment of new value to the location property cause the control to move to the new location while it has the mouse pointer on it. This may generate new mouse move events!!!

Any suggestions / solutions to avoid the extra mouse move events would be highly appreciated.

Thanks,

Suhas
GeneralRe: Handle mouse move events in C# Pin
Nnamdi Onyeyiri7-Aug-03 11:10
Nnamdi Onyeyiri7-Aug-03 11:10 
GeneralRe: Handle mouse move events in C# Pin
sumeat7-Aug-03 11:42
sumeat7-Aug-03 11:42 
GeneralRe: Handle mouse move events in C# Pin
Ista7-Aug-03 16:08
Ista7-Aug-03 16:08 
Generalmore datagrid q's: select row & tab down Pin
mikemilano7-Aug-03 9:09
mikemilano7-Aug-03 9:09 
GeneralRe: more datagrid q's: select row & tab down Pin
mikemilano7-Aug-03 9:20
mikemilano7-Aug-03 9:20 
GeneralRe: more datagrid q's: select row & tab down Pin
Ista7-Aug-03 17:34
Ista7-Aug-03 17:34 
GeneralRe: more datagrid q's: select row & tab down Pin
Ista7-Aug-03 17:38
Ista7-Aug-03 17:38 
GeneralRetreiving class from XML WebService Pin
Mazdak7-Aug-03 8:43
Mazdak7-Aug-03 8:43 
GeneralRe: Retreiving class from XML WebService Pin
Nish Nishant7-Aug-03 8:46
sitebuilderNish Nishant7-Aug-03 8:46 
GeneralRe: Retreiving class from XML WebService Pin
Mazdak7-Aug-03 21:13
Mazdak7-Aug-03 21:13 
Generalbot Pin
Ashwin C7-Aug-03 8:22
Ashwin C7-Aug-03 8:22 
GeneralCLS compliant Pin
devvvy7-Aug-03 6:34
devvvy7-Aug-03 6:34 
GeneralRe: CLS compliant Pin
leppie7-Aug-03 6:58
leppie7-Aug-03 6:58 
GeneralRe: CLS compliant Pin
Nish Nishant7-Aug-03 8:44
sitebuilderNish Nishant7-Aug-03 8:44 
GeneralRe: CLS compliant Pin
Nnamdi Onyeyiri7-Aug-03 10:27
Nnamdi Onyeyiri7-Aug-03 10:27 
GeneralSelecting a row in a data grid. Pin
mikemilano7-Aug-03 6:13
mikemilano7-Aug-03 6:13 
GeneralRe: Selecting a row in a data grid. Pin
Alex Korchemniy7-Aug-03 6:25
Alex Korchemniy7-Aug-03 6:25 

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.