GDI+ WinForms Program works differently on different computer -


i wrote vb 2015 gdi+ winforms program on desktop. works there. involves 600x600 image, , clicking on image changes color of 10x10 box on image mouse clicked. but, on laptop, clicking on image changes 10x10 box , 3 other boxes outside image, right, right lower, , lower ( i.e. east, southeast, , south) areas of form outside image.

 example, clicking on desktop gives:  -------                                               | x    |                                               |      |                                               -------  while clicking on laptop gives:          -------                                               | x    |  x                                               |      |                                               -------                                                 x       x  . 

both machines windows 7 pro 64-bit sp1. doesn't matter screen resolution used - work correctly on desktop, , work incorrectly on laptop.

it doesn't matter whether program installed on machine's hard drive or running thumb drive (the same thumb drive on both machines).

also, loading bitmap desktop's image works properly, while loading same bitmap laptop's image produces 4 copies: 1 within image's boundaries , other 3 east, southeast, , south, mouse click results.

i haven't provided code here because it's quite lengthy. @ moment, i'm looking ideas regarding might cause such problem.

do use different characters sizes in window ? (eg zoom functionnnality)

i found lot of problem many application when size not set 100% (default) (from ugly gui freeze).


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -