BUG: getForeColor() Returns Color(0,0,0) for Bound Elements (196876)
The information in this article applies to:
- Microsoft Visual J++ 6.0
- Microsoft SDK for Java 3.1
This article was previously published under Q196876 SYMPTOMS
Black [Color(0,0,0)] is returned when you call getForeColor() on a bound
element.
CAUSE
The Windows Foundation Classes (WFC) classes cannot retrieve the foreground
color of an object until it is programmatically set.
RESOLUTION
Use the setForeColor() method to programmatically set the element's
foreground color.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
REFERENCES
For support information about Visual J++ and the SDK for Java, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 6/14/2006 |
---|
Keywords: | kbBug kbInetDev kbpending kbWFC KB196876 |
---|
|