Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can not send message after login Pin
Gerry Schmitz13-May-16 4:01
mveGerry Schmitz13-May-16 4:01 
AnswerRe: Can not send message after login Pin
Eddy Vluggen13-May-16 4:35
professionalEddy Vluggen13-May-16 4:35 
QuestionHow can i move Mouse accuracy use GDI+? Pin
Member 1243103912-May-16 21:37
Member 1243103912-May-16 21:37 
AnswerRe: How can i move Mouse accuracy use GDI+? Pin
OriginalGriff12-May-16 22:24
mveOriginalGriff12-May-16 22:24 
GeneralRe: How can i move Mouse accuracy use GDI+? Pin
Member 1243103912-May-16 23:09
Member 1243103912-May-16 23:09 
GeneralRe: How can i move Mouse accuracy use GDI+? Pin
OriginalGriff13-May-16 1:30
mveOriginalGriff13-May-16 1:30 
GeneralRe: How can i move Mouse accuracy use GDI+? Pin
Member 1243103913-May-16 5:40
Member 1243103913-May-16 5:40 
GeneralRe: How can i move Mouse accuracy use GDI+? Pin
OriginalGriff13-May-16 6:00
mveOriginalGriff13-May-16 6:00 
If you use Point.Round on a PointF(50.4, 50.6) you will get a Point(50, 51) - which is the closest an integer Point can get to it - you can't position a mouse pointer to .6 of a pixel because a pixel is the smallest unit of drawing! Laugh | :laugh:
The only reason PointF exists is to allow multiple scale and transform operations to not lose accuracy - you can't use them for actual drawing, then have to be converted to Point first.
Just try creating a Point hotSpot, and using Point.Round to give it a value from your PointF.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

QuestionRemote Access UDP hole punching Pin
sigridslima12-May-16 8:52
sigridslima12-May-16 8:52 
AnswerRe: Remote Access UDP hole punching Pin
Dave Kreskowiak13-May-16 0:53
mveDave Kreskowiak13-May-16 0:53 
GeneralRe: Remote Access UDP hole punching Pin
sigridslima15-May-16 4:03
sigridslima15-May-16 4:03 
GeneralRe: Remote Access UDP hole punching Pin
Dave Kreskowiak15-May-16 5:12
mveDave Kreskowiak15-May-16 5:12 
GeneralRe: Remote Access UDP hole punching Pin
sigridslima15-May-16 6:22
sigridslima15-May-16 6:22 
GeneralRe: Remote Access UDP hole punching Pin
Dave Kreskowiak15-May-16 10:15
mveDave Kreskowiak15-May-16 10:15 
GeneralRe: Remote Access UDP hole punching Pin
sigridslima15-May-16 10:25
sigridslima15-May-16 10:25 
GeneralRe: Remote Access UDP hole punching Pin
Dave Kreskowiak15-May-16 17:20
mveDave Kreskowiak15-May-16 17:20 
GeneralRe: Remote Access UDP hole punching Pin
sigridslima16-May-16 0:56
sigridslima16-May-16 0:56 
GeneralRe: Remote Access UDP hole punching Pin
Dave Kreskowiak16-May-16 1:24
mveDave Kreskowiak16-May-16 1:24 
QuestionI can not Parse JSON to string Pin
aheda12-May-16 5:01
aheda12-May-16 5:01 
AnswerRe: I can not Parse JSON to string Pin
Richard Deeming12-May-16 5:31
mveRichard Deeming12-May-16 5:31 
QuestionCannot convert source type object[,] to target type object[][] Pin
gpc4412-May-16 4:21
gpc4412-May-16 4:21 
GeneralRe: Cannot convert source type object[,] to target type object[][] Pin
CHill6012-May-16 4:22
mveCHill6012-May-16 4:22 
AnswerRe: Cannot convert source type object[,] to target type object[][] Pin
OriginalGriff12-May-16 4:54
mveOriginalGriff12-May-16 4:54 
QuestionConverting from autocad dwg file to both PDF and Image Pin
Thiha Soe Htet -1140164211-May-16 19:08
Thiha Soe Htet -1140164211-May-16 19:08 
AnswerRe: Converting from autocad dwg file to both PDF and Image Pin
OriginalGriff11-May-16 23:14
mveOriginalGriff11-May-16 23:14 

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.