07-25-2006 09:31 AM
How do I get the my application to conform to system colors if they are
changed once the application is running.
07-26-2006 10:08 AM
Hi,
There is the 'conform to system colours' option in the UIR editor for your panels in CVI. This however will only change the applications colour (apart from the title bar which is handled by Windows) on a start up of the application. So there isn't any way to have them change at run time at present.
A request has been put in for this feature to be added in future revisions, however I have no information as to when this will actually be implemented.
At this moment in time, theoretically you could use the Windows SDK to work out if a colour change has occurred, and if so change the colour of your panels etc as necessary, but we dont have any example code that shows how to do this. There might be more info on msdn.microsoft.com for appropriate calls. (The Windows SDK is something you have to manually install with CVI and is only available to users of the Full Development System).
I hope this helps, please let me know if you have any more questions.
Hannah
NIUK & Ireland