D
D
densaface2015-12-12 19:34:08
C++ / C#
densaface, 2015-12-12 19:34:08

Is it possible to find out the real text size in CStatic?

For more flexible window resizing, you need to know the size of the text displayed in CStatic. Is there such a possibility in C++ (I'm using MS VS 2008, although this shouldn't affect the answer)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2015-12-20
@SaNNy32

GetTextExtentPoint32 will work?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question