.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to change the 'Window command' color
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
93 Views, 4 Replies
04-23-2012 11:00 PM
Hi,
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 ?
Thanks.
By 'Window command' I'm talking about the feature comming with A2012 displayed in the upper left corner of model space windows:
Gilles Chanteau
Solved! Go to Solution.
Re: How to change the 'Window command' color
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 01:12 AM in reply to:
_gile
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
Re: How to change the 'Window command' color
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 01:23 AM in reply to:
Alexander.Rivilis
Thank you very much Alexander.
Gilles Chanteau
Re: How to change the 'Window command' color
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 01:28 AM in reply to:
_gile
Another way is P/Invoke acedGetCurrentColorsEx3/acedSetCurrentColorsEx3 function:
/* Viewport control for various contexts */
DWORD dw2DModelVportControl;
DWORD dwParallelVportControl;
DWORD dwPerspectiveVportControl;
Re: How to change the 'Window command' color
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 02:46 AM in reply to:
Alexander.Rivilis
Thanks, I finally solve it P/Invoking acedSetenv.
Gilles Chanteau




