Community
AcColorSettings pColorSettings;
acedGetCurrentColors(&pColorSettings);
DWORD rgbColor = pColorSettings.dwGfxModelBkColor;
BYTE ValueR=GetRValue(rgbColor);
BYTE ValueG=GetGValue(rgbColor);???????
BYTE ValueB=GetBValue(rgbColor);
Compiler is set too strict, disable "Smaller Type Check" /RTC c
acedColorSettingsChanged is undocumented, so, I would have to guess something like
#pragma comment( lib, "acad.lib")
__declspec(dllimport) BOOL __cdecl acedColorSettingsChanged(BOOL,BOOL,BOOL)
Can't find what you're looking for? Ask the community or share your knowledge.