To answer my own question below is something that worked (AFAIK) - you will have to search out the other ICC definitions. type TINITCOMMONCONTROLSEX = object dwSize:DWORD dwICC:DWORD const ICC_UPDOWN_CLASS = 0x10 proc InitCommonControlsEx*(lpInitCtrls:ptr TINITCOMMONCONTROLSEX):WINBOOL {.stdcall, dynlib: "comctl32", importc: "InitCommonControlsEx".}
nim