callBuild method

bool callBuild({
  1. int? hdc,
})

Calls build resolving necessary parameters.

Implementation

bool callBuild({int? hdc}) {
  ensureLoaded();
  final hwnd = this.hwnd;

  _logWindow.info(() => "Building> $this");

  if (hdc == null) {
    final hdc = GetDC(hwnd);
    _callBuildImpl(hwnd, hdc);
    ReleaseDC(hwnd, hdc);
  } else {
    _callBuildImpl(hwnd, hdc);
  }

  return true;
}