View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Googleplex Googleplex is offline
external usenet poster
 
Posts: 2
Default Accessing pixels in bitmaps + retreiving from registry

Having assigned a StdPicture or IPictureDisp object--call it
"pic"--from the .Picture property of a selected button on a
commandbar, I would like to be save the critical pixel data with
SaveSetting for later retrieval by GetSetting.

How do I accomplish this? Does a property exist for pic that I can
save and retrieve?

For reference purposes, the snippet below outlines what I am trying to
do:

Set pic = btn.Picture
SaveSetting "AppName","Section", "Key", pic.???

set pic2.??? = GetSetting("AppName", "Section", "Key")
btn.Picture = pic2


Thanks