I'd like to create a dialog that includes labels that are sized appropriately according to the size of the text that needs to be displayed. The text is not known at compile time (it's variable).
How can I determine (programmatically) how large (wide) the label control needs to be assuming I want just one line (no line breaks)?
How can I determine (programmatically) how large (wide) the label control needs to be assuming I want just one line (no line breaks)?
Comment