|
-
Nov 12th, 1999, 01:28 AM
#1
Thread Starter
Member
I'm trying to load an Icon that's stored in a .RES file... For some reason, when I use this method, the Icon loses its color and becomes shades of grey. If I take the same Icon and load it by using the form properties window, it appears fine.
I've tried saving it as both a 256 color and a 16 color Icon with the same results. I'd love to just load it from the form properties, but I need to load it during program execution (it will change from time to time).
Any help would be greatly appreciated!!
-
Nov 12th, 1999, 02:33 AM
#2
What are you using to load the Resource?
This works fine for me on NT & Win95:
Icon = LoadResPicture(101, vbResIcon)
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 12th, 1999, 03:41 AM
#3
Thread Starter
Member
Yes.. That's how I'm doing it.
I just don't get it -- When I view the Icon with the VB Resource Editor, it looks fine. It's only when it's displayed on the screen that I get a "grey" icon.
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
|
Click Here to Expand Forum to Full Width
|