winapi - How to get the size in pixels of the Resize Corners of a Window -
is there way (api) of getting size (vertical , horizontal) in pixels of resize corners?
i referring area @ each of corners of window can resize window in both directions (left-to-right , top-to-bottom) @ same time using mouse. know there mouse cursor when hover on corners of window , mouse cursor diagonal resizing cursor.
thank you
edit: example: hover mouse on right edge of sizable window. start in middle (vertically) of window , move mouse along edge until horizontal sizing cursor changes diagonal sizing cursor. how determine asking os how far position when cursor changes, top of window.
i suggest use size of scrollbars. call getsystemmetrics sm_cyhscroll , sm_cxvscroll. may sm_cysizeframe , sm_cxsizeframe sizes can combined.
but think better value use height of status bar. microsoft windows seems use fixed value can seen on screenshot.
Comments
Post a Comment