MCPcopy Create free account
hub / github.com/FreeApophis/TrueCrypt / AccommodateTextField

Function AccommodateTextField

Common/Dlgcode.c:699–769  ·  view source on GitHub ↗

Resizes a text field according to its actual width and height in pixels (font size is taken into account) and moves it accordingly if the field is centered or right-aligned. Should be used on all hyperlinks upon dialog init after localization (bFirstUpdate should be TRUE) and later whenever a hyperlink text changes (bFirstUpdate must be FALSE).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ToCustHyperlinkFunction · 0.85
ComboSelChangeEAFunction · 0.85

Calls 2

GetTextGfxWidthFunction · 0.85
GetTextGfxHeightFunction · 0.85

Tested by

no test coverage detected