Down arrow width

So, in winforms, each drop-down list has this little arrow on the right that tells the user about the drop-down list, like this:

http://www.ci.berkeley.ca.us/ig_common/images/igsch_dropdown_up_o2003silver.gif http://www.ci.berkeley.ca.us/ig_common/images/igsch_dropdown_up_o2003silver.gif

Now, how do I understand how wide this figure is? The reason is that I use ControlDrawToBitmap, it doesn’t paint the text for the combo boxes, and I can redraw the contents, I just hit some of the arrows (which are drawn correctly).

+3
source share
2 answers

, : , . . API GetSystemMetrics(), . , .

: , , , ( ). . EM_GETRECT MSDN.

, , : , .

+5

9

0

Source: https://habr.com/ru/post/1757873/


All Articles