PDA

View Full Version : [API] change background color for warning?


efecto
02-13-2011, 11:30 PM
Does anyone know how to display blue colour as background for warning message instead of the default purple colour?

MGlobal::displayWarning("make this warning's background blue colour..");

zoharl
02-14-2011, 12:48 AM
The doc would have mentioned it if it was possible, or at least by now you would have seen a color in this lifeless window.
Anyway I'm not sure how far you are willing to go with it, but there's a plug-in, which clears the output window (stdout instead of MGlobal). It does that by finding the window handle and sending messages directly to clear the edit box. Maybe with the same idea you could change the edit box to rich edit box, and add commands to print in color :hmm:.

Robert Bateman
02-14-2011, 10:42 AM
Can't do UI from the API fullstop. If it was possible (which it isn't), it would have been exposed in mel....

CGTalk Moderation
02-14-2011, 10:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.