You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello together,
I would like to move my window without resizing it.
SetWindowPositionAndSize(IntPtr hwnd, double x, double y, double width, double height)
So I read the doc of the MoveAndResize in WindowExtensions.cs, which states that for keeping the actual size
Width of the window in device independent pixels, or null if keeping the current size
Height of the window in device independent pixels, or null if keeping the current size
I would have to set a non nullable double to null? Perhaps im just missing something but generally Im curious about this. There is a function named SetWindowSize to only set the size, but no function to only set the position. Is this related to DPI things?
When using SetWindowPos from user32 I can set SWP_NOSIZE, but here its kind of irritating for me.
The text was updated successfully, but these errors were encountered:
Hello together,
I would like to move my window without resizing it.
So I read the doc of the MoveAndResize in WindowExtensions.cs, which states that for keeping the actual size
I would have to set a non nullable double to null? Perhaps im just missing something but generally Im curious about this. There is a function named SetWindowSize to only set the size, but no function to only set the position. Is this related to DPI things?
When using SetWindowPos from user32 I can set SWP_NOSIZE, but here its kind of irritating for me.
The text was updated successfully, but these errors were encountered: