-
Colors in disabled controls
How to change the ForeColor in a disabled control?
I tried the following with no results:
Sub DisabledColors(oCtr As Control)
Dim lngDC As Long
lngDC = GetDC(oCtr.hwnd)
Call SetTextColor(lngDC, RGB(0, 0, 0))
Call SetBkColor(lngDC, &HE0E0E0)
Call UpdateWindow(lngDC)
End Sub
Thanks for any help
Jorge
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks