11-20-2011 08:22 PM
I became acorss the function below. What is the relationship between OLE and RGB color? Can you give me some background on them? For the function below, is the input supposed to be OLE or RGB? Thanks!
Owning Palette: 3D Graph Properties VIs
Requires: Base Package (Windows)
Converts LabVIEW colors to or from colors used by ActiveX.
You can use the property page for the 3D graph to set all of the colors. Color conversion is necessary for use with ActiveX Property Nodes.
11-21-2011 01:22 AM
http://lmgtfy.com/?q=OLE+Color+RGB
11-21-2011 09:17 AM
haha, I already googled that. I didn't find a good answer.
11-21-2011 09:37 AM - edited 11-21-2011 09:39 AM
If you would read throught he examples and source code you would have found your answer! MSDN has to say this http://msdn.microsoft.com/en-us/library/windows/desktop/ms694353%28v=vs.85%29.aspx. Basically if the MSB is 0, the other 3 bytes are directly RGB colors, otherwise they are either a system color index or palette index. The LabVIEW Color is built in a similar way, but the meaning of the MSB is different.