Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

The pin is placed above the minimize button #23

Closed
mortenbrudvik opened this issue Mar 20, 2020 · 2 comments
Closed

The pin is placed above the minimize button #23

mortenbrudvik opened this issue Mar 20, 2020 · 2 comments
Assignees

Comments

@mortenbrudvik
Copy link

This happen on Windows 10. I have not tested other versions.

Could it have something to do with this?

ApiSystemMetrics.Get(SystemMetric.SM_CXSIZE)

It returns 36 pixels when I debug the code, but when inspecting the minimize button I show it to be 47 pixels.

@VictorZakharov VictorZakharov self-assigned this Mar 22, 2020
@VictorZakharov VictorZakharov pinned this issue Mar 22, 2020
@VictorZakharov
Copy link
Owner

VictorZakharov commented Mar 23, 2020

I asked a question on Stack Overflow yesterday - this solution works on all OS but XP (I do support XP for PinWin):

Just need to figure out how to combine previous CX_SIZE and this new approach, for backwards compatibility.

@VictorZakharov
Copy link
Owner

Fix is available in release v0.2.4:
https://github.com/VictorZakharov/pinwin/releases/tag/v0.2.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants