home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.comp.os.windows-xp      Actually wasn't too bad for a M$-OS      17,273 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,975 of 17,273   
   R.Wieser to All   
   ImageList_GetImageInfo - alter the bitma   
   30 Sep 24 21:11:50   
   
   XPost: alt.windows7.general, comp.os.ms-windows.programmer.win32   
   From: address@is.invalid   
      
   Hello all,   
      
   Using XPsp3.   
      
   I was playing with the idea to dynamically alter the contents of an   
   ImageList, and found the   
   https://learn.microsoft.com/en-us/windows/win32/api/commctrl/nf-   
   ommctrl-imagelist_getimageinfo   
   function, which says :   
      
   "The information in this structure can be used to *directly* manipulate the   
   bitmaps for the image"   
      
   (bolding mine).   
      
   I've been trying to think of how that is possible - the bitmaps cannot be   
   selected into a memoryDC - and to google information about how that would   
   work, but came up empty.   
      
   Question:   
   Does anyone know what "directly manipulate the bitmaps" method MS is   
   referring to in the above ?   
      
   Remark:   
   I already thought of and written another way to do what I want, but would   
   like to know how the above works.  Who knows, their (MS) method might be   
   simpler. :-)   
      
   Regards,   
   Rudy Wieser   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca