I need to programmatically change the 'Window command' (Commande de fenêtre in French) color. I didn't find anything in Application.Preferences neither in the registry.
Has anybody a solution ?
By 'Window command' I'm talking about the feature comming with A2012 displayed in the upper left corner of model space windows:
Solved! Go to Solution.
Solved! by Alexander.Rivilis. See the answer in context.
HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\RXX.X\ACAD-YYYY:ZZZ\FixedProfile\Editor Configuration 2D Model viewport control color Parallel viewport control color Perspective viewport control color
ACAD-YYYY:ZZZ\FixedProfile\Editor Configuration 2D Model viewport control color Parallel viewport control color Perspective viewport control color
Another way is P/Invoke acedGetCurrentColorsEx3/acedSetCurrentColorsEx3 function:
/* Viewport control for various contexts */ DWORD dw2DModelVportControl; DWORD dwParallelVportControl; DWORD dwPerspectiveVportControl;
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!