Click here to Skip to main content
15,891,689 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Visio object events detection Pin
narada10810-May-04 22:36
narada10810-May-04 22:36 
Generalmatrix determinant Pin
kcal22-Apr-04 22:34
kcal22-Apr-04 22:34 
General[Message Deleted] Pin
wibblewibblewibble22-Apr-04 22:46
wibblewibblewibble22-Apr-04 22:46 
GeneralRe: matrix determinant Pin
cjengler23-Apr-04 0:33
cjengler23-Apr-04 0:33 
QuestionCan Run Well? Pin
wokankan22-Apr-04 20:51
wokankan22-Apr-04 20:51 
AnswerRe: Can Run Well? Pin
Dave Kreskowiak23-Apr-04 0:28
mveDave Kreskowiak23-Apr-04 0:28 
AnswerRe: Can Run Well? Pin
Heath Stewart23-Apr-04 2:34
protectorHeath Stewart23-Apr-04 2:34 
Generalsort a Datagrid Pin
Appelz22-Apr-04 20:44
Appelz22-Apr-04 20:44 
GeneralRe: sort a Datagrid Pin
Heath Stewart23-Apr-04 2:38
protectorHeath Stewart23-Apr-04 2:38 
GeneralRe: sort a Datagrid Pin
Appelz23-Apr-04 2:58
Appelz23-Apr-04 2:58 
GeneralRe: sort a Datagrid Pin
Heath Stewart23-Apr-04 3:23
protectorHeath Stewart23-Apr-04 3:23 

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.