Closed riverar closed 10 months ago
Wasn't expecting CenterOnScreen to make my window visible (usage of SWP_SHOWWINDOW parameter). Would recommend removing this and keeping window visibility state changes separate.
CenterOnScreen
SWP_SHOWWINDOW
https://github.com/dotMorten/WinUIEx/blob/24da8fd46391d52e2f56126ea40f750c1c4355de/src/WinUIEx/HwndExtensions.cs#L100-L117
Nice like rice, thanks @dotMorten
Wasn't expecting
CenterOnScreen
to make my window visible (usage ofSWP_SHOWWINDOW
parameter). Would recommend removing this and keeping window visibility state changes separate.https://github.com/dotMorten/WinUIEx/blob/24da8fd46391d52e2f56126ea40f750c1c4355de/src/WinUIEx/HwndExtensions.cs#L100-L117