Hello
Can anyone tell me if it is possible to change the background color of the application window ?
I would like the whole area outside the drawing window (the drawing page) to be grey, so that it can be clearly distiinguished from the actual drawing page, which is white, with a shadow line around the drawing page.
Is this possible?
Thanks for any tips.
toymaker1 said: Hello Can anyone tell me if it is possible to change the background color of the application window ? I would like the whole area outside the drawing window (the drawing page) to be grey, so that it can be clearly distiinguished from the actual drawing page, which is white, with a shadow line around the drawing page. Is this possible? Thanks for any tips.
Hi.
This question has come up many times. Work arounds have been suggested in the other posts but tend to be more hassle than they're worth.
Hopefully this simple feature will be added to X6.
-John
Thanks Runflacruiser
Brian,
Thanks a million for the macro -- I hate having to stare at a white background! The macro works OK here in CDR X5 on Win7x64.
The only thing I don't like is that after running the "AddGreyBackground", the Active layer is set to the new non-editable "Grey Desktop" layer. I keep getting the error message about an uneditable layer when I forget to activate the page's other layer before trying to draw an object. I'm thinking that the "AddGreyBackground" module needs to first store the currently active layer's info before creating the "Grey Desktop" layer, then reset the previously active layer as the current active layer.
... I'm thinking that the "AddGreyBackground" module needs to first store the currently active layer's info before creating the "Grey Desktop" layer, then reset the previously active layer as the current active layer.
Hi Ken,
thanks for reminding me!! That is precisely what I had intended to do and forgot. I was making that macro after midnight (something I have been doing a lot lately), so I was in a hurry. I tested the background was working and in my excitement to post a solution to the issue, I forgot to go back and finish off the last step. I will do so later today and post the revised version then.
Best regards,Brian.
Ahh, what the heck.....I just changed it now, revised macro is attached. Please let me know if there are any issues.
Hi Brian, I have just had a look at the background layer and it looks good I will use it this coming week and show all my students next week
watch out that you do not burn out with all these early mornings
Joe
Wow!
I seem to have started something really interesting here with my query about changing the background color of the application window.
The trouble is I dont seem to be able to open the macro file myself.
Brian - There is no need to run the GrayDosktop macro for every page, just enable Edit (the small pencil) and drag the GrayDesktop layer into the Master page.
halamisha said: Brian - There is no need to run the GrayDosktop macro for every page, just enable Edit (the small pencil) and drag the GrayDesktop layer into the Master page.
This suggestion is not a good one. As Brian explained in his original post, if you change the page orientation or size you've got garbage.
toymaker1 said: I seem to have started something really interesting here with my query about changing the background color of the application window.
Yeah, this is getting funner and funner.
toymaker1 said: The trouble is I dont seem to be able to open the macro file myself.
You don't need to open the macro's .gms file -- Although the code is password protected, just put the .gms file in your GMS subdirectory and run the macro from within CDR.
I am working on it, guys.... take a look at this video. Click on "Download" in the menu there.
I just need to figure out how to get the layer to go below the Master Layers.
Brian said: I just need to figure out how to get the layer to go below the Master Layers.
Assuming you're creating a non-Master Layer, the C# code I'm using is this (where "thePage" is the active page and "kColourBackground" is the name of the layer I'm creating):
thePage.AllLayers["kColourBackground"].MoveBelow(thePage.AllLayers["Grid"]);
(This allows the grid lines to show.)