Lines Matching defs:textWidth
1124 int textWidth, minButtonWidth, messageWidth;
1219 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1220 if (textWidth > messageWidth)
1221 messageWidth = textWidth;
1247 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1248 if (textWidth < minButtonWidth)
1249 textWidth = minButtonWidth;
1250 textWidth += dlgPaddingX; /* Padding within button */
1251 buttonWidths[i] = textWidth;
1253 horizWidth += textWidth + dlgPaddingX; /* Pad between buttons */
1272 textWidth = GetTextWidth(hdc, pstart, pend - pstart);
1273 textWidth += dlgPaddingX; /* Padding within button */
1274 textWidth += DLG_VERT_PADDING_X * 2; /* Padding around button */
1275 if (textWidth > dlgwidth)
1276 dlgwidth = textWidth;