justaphase
asked on
FoxPro - Use windows icons in a ImageList ActiveX (MSComCtlLib.ImageListCtrl.2)
Hello Experts,
I have a foxpro code using the COM object "MSComctlLib.TreeCtrl.2" together with "MSComCtlLib.ImageListCtrl .2".
The code is working fine.
I have this:
Thx in advanced,
Miguel
I have a foxpro code using the COM object "MSComctlLib.TreeCtrl.2" together with "MSComCtlLib.ImageListCtrl
The code is working fine.
I have this:
.AddObject('imglst1', 'olecontrol', 'MSComCtlLib.ImageListCtrl.2')
WITH .imglst1
.ImageHeight = 16
.ImageWidth = 16
&& .MaskColor = RGB(192,192,192)
.ListImages.Add(,"Etiqueta",LoadPicture("c:\11.gif"))
.ListImages.Add(,"Estrela",LoadPicture("c:\31.gif"))
ENDWITH
Instead of LoadPicture("c:\31.gif"), can i load the windows system icons?Thx in advanced,
Miguel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.