Click here to Skip to main content
16,004,991 members
Home / Discussions / C#
   

C#

 
AnswerRe: How I may safe close my application? Pin
Colin Angus Mackay6-Apr-04 3:11
Colin Angus Mackay6-Apr-04 3:11 
AnswerRe: How I may safe close my application? Pin
novitzky6-Apr-04 4:22
novitzky6-Apr-04 4:22 
GeneralDisabling Text Wrap on DrawString() Pin
Tristan Rhodes6-Apr-04 2:54
Tristan Rhodes6-Apr-04 2:54 
GeneralRe: Disabling Text Wrap on DrawString() Pin
Heath Stewart6-Apr-04 3:23
protectorHeath Stewart6-Apr-04 3:23 
QuestionDirect X transformation? Pin
SherKar6-Apr-04 2:53
SherKar6-Apr-04 2:53 
AnswerRe: Direct X transformation? Pin
Heath Stewart6-Apr-04 3:22
protectorHeath Stewart6-Apr-04 3:22 
GeneralRe: Direct X transformation? Pin
SherKar7-Apr-04 4:29
SherKar7-Apr-04 4:29 
GeneralRe: Direct X transformation? Pin
Heath Stewart7-Apr-04 5:17
protectorHeath Stewart7-Apr-04 5:17 
You can get the mouse position at any time using the static Control.MousePosition property. You could transform these coordinates to your world space and get the mesh you need, or if you click on it you can get the client coordinates and transform these.

When you say you are getting the last mesh that was rendered, do you mean that you're destroying and re-creating your mesh with each drawing phase, and that you get the last one rendered? You probably don't need to destroy your mesh each time, though you would have to get the materials and textures from it to draw.

I'm sorry if I don't understand your problem.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: .NET Pin
CWIZO6-Apr-04 2:41
CWIZO6-Apr-04 2:41 
GeneralRe: .NET Pin
Colin Angus Mackay6-Apr-04 2:45
Colin Angus Mackay6-Apr-04 2:45 
GeneralDlls Pin
jithen_dt6-Apr-04 2:33
jithen_dt6-Apr-04 2:33 
GeneralRe: Dlls Pin
Heath Stewart6-Apr-04 3:20
protectorHeath Stewart6-Apr-04 3:20 
GeneralRe: Dlls Pin
scadaguy6-Apr-04 3:24
scadaguy6-Apr-04 3:24 
GeneralClient Pinging Server Pin
Prasad Anand6-Apr-04 1:04
Prasad Anand6-Apr-04 1:04 
GeneralRe: Client Pinging Server Pin
Heath Stewart6-Apr-04 3:12
protectorHeath Stewart6-Apr-04 3:12 
GeneralOracle Stored Procedure Problem in .NET Pin
Member 3350225-Apr-04 23:27
Member 3350225-Apr-04 23:27 
GeneralRe: Oracle Stored Procedure Problem in .NET Pin
Heath Stewart6-Apr-04 3:08
protectorHeath Stewart6-Apr-04 3:08 
GeneralRe: Oracle Stored Procedure Problem in .NET Pin
Jesse Squire6-Apr-04 4:24
Jesse Squire6-Apr-04 4:24 
GeneralRe: Oracle Stored Procedure Problem in .NET Pin
Bill Dean7-Apr-04 7:17
Bill Dean7-Apr-04 7:17 
GeneralMDIChild from another child form Pin
robmays5-Apr-04 22:12
robmays5-Apr-04 22:12 
GeneralRe: MDIChild from another child form Pin
MeterMan5-Apr-04 22:59
MeterMan5-Apr-04 22:59 
GeneralRe: MDIChild from another child form Pin
LongRange.Shooter6-Apr-04 3:27
LongRange.Shooter6-Apr-04 3:27 
QuestionIs string a primitive type?? Pin
Ungi.5-Apr-04 20:05
Ungi.5-Apr-04 20:05 
AnswerRe: Is string a primitive type?? Pin
Corinna John5-Apr-04 21:50
Corinna John5-Apr-04 21:50 
GeneralRe: Is string a primitive type?? Pin
Ungi.5-Apr-04 21:56
Ungi.5-Apr-04 21:56 

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.