Click here to Skip to main content
15,914,362 members
Home / Discussions / C#
   

C#

 
GeneralIncluding header file in C# Pin
Aisha Ikram22-Apr-04 23:28
Aisha Ikram22-Apr-04 23:28 
GeneralRe: Including header file in C# Pin
Colin Angus Mackay22-Apr-04 23:40
Colin Angus Mackay22-Apr-04 23:40 
GeneralRe: Including header file in C# Pin
Ian Darling23-Apr-04 0:43
Ian Darling23-Apr-04 0:43 
Generalmatrix determinant in 3*3 d Pin
kcal22-Apr-04 23:26
kcal22-Apr-04 23:26 
GeneralRe: matrix determinant in 3*3 d Pin
Heath Stewart23-Apr-04 2:13
protectorHeath Stewart23-Apr-04 2:13 
GeneralRe: matrix determinant in 3*3 d Pin
Heath Stewart23-Apr-04 2:19
protectorHeath Stewart23-Apr-04 2:19 
GeneralVisio object events detection Pin
narada10822-Apr-04 23:25
narada10822-Apr-04 23:25 
GeneralRe: Visio object events detection Pin
Heath Stewart23-Apr-04 2:29
protectorHeath Stewart23-Apr-04 2:29 
GeneralRe: Visio object events detection Pin
narada10826-Apr-04 0:12
narada10826-Apr-04 0:12 
GeneralRe: Visio object events detection Pin
narada10826-Apr-04 1:22
narada10826-Apr-04 1:22 
GeneralRe: Visio object events detection Pin
Heath Stewart26-Apr-04 3:01
protectorHeath Stewart26-Apr-04 3:01 
GeneralRe: Visio object events detection Pin
Anonymous26-Apr-04 4:35
Anonymous26-Apr-04 4:35 
GeneralRe: Visio object events detection Pin
narada10827-Apr-04 20:22
narada10827-Apr-04 20:22 
GeneralRe: Visio object events detection Pin
narada10827-Apr-04 21:42
narada10827-Apr-04 21:42 
GeneralRe: Visio object events detection Pin
Heath Stewart28-Apr-04 11:08
protectorHeath Stewart28-Apr-04 11:08 
GeneralRe: Visio object events detection Pin
narada1085-May-04 5:37
narada1085-May-04 5:37 
GeneralRe: Visio object events detection Pin
Heath Stewart5-May-04 5:41
protectorHeath Stewart5-May-04 5:41 
GeneralRe: Visio object events detection Pin
narada1086-May-04 23:02
narada1086-May-04 23:02 
GeneralRe: Visio object events detection Pin
Heath Stewart7-May-04 3:11
protectorHeath Stewart7-May-04 3:11 
If these are not Control derivatives, then you have to implement the events yourself from their container. The container would receive these events and you'd have to use the MousePosition static property of a Control (and call PointToClient on that control with the coordinates from MousePosition since those are in screen coordinates). Using the returned Point you need to have a way to figure out which shape was clicked, and then cause it to fire it's own Click or DoubleClick events (which you'd have to implement) using the same timer concept I mentioned before.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Visio object events detection Pin
narada10810-May-04 1:03
narada10810-May-04 1:03 
GeneralRe: Visio object events detection Pin
Heath Stewart10-May-04 2:26
protectorHeath Stewart10-May-04 2:26 
GeneralRe: Visio object events detection Pin
narada10810-May-04 4:22
narada10810-May-04 4:22 
GeneralRe: Visio object events detection Pin
narada10810-May-04 4:53
narada10810-May-04 4:53 
GeneralRe: Visio object events detection Pin
narada10810-May-04 5:47
narada10810-May-04 5:47 
GeneralRe: Visio object events detection Pin
narada10810-May-04 22:36
narada10810-May-04 22:36 

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.