Quantcast
Channel: PTC Community: Message List - Creo
Viewing all articles
Browse latest Browse all 11377

Re: Pro/Toolkit : how can I set the background color?

$
0
0

I tried also :

 

ProColor old_g_color;

ProColor background;

background.method = PRO_COLOR_METHOD_RGB;

background.value.type = PRO_COLOR_BACKGROUND;

background.value.map.red = 1;

background.value.map.green = 0;

background.value.map.blue = 0;

ProGraphicsColorModify(&background, &old_g_color);

ProWindowRefresh (-1);

 

 

but it is not working... :-(

 

I also tried

 

ProColormap colors;

colors.red = 0;

colors.green = 0;

colors.blue = 1;


ProColormapSet(PRO_COLOR_BACKGROUND, &colors);

ProWindowRefresh (-1);

 

This last try seems to change the color when I go to View/Display Settings/System Colors. I can see that the color assigned to background changed but it is not really changing the background color...

 

Please help!

 

Emilie


Viewing all articles
Browse latest Browse all 11377

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>