Board index » delphi » Bitmaps in OLE Containers
Jouni Aro
![]() Delphi Developer |
Tue, 08 May 2001 03:00:00 GMT
Bitmaps in OLE Containers
Well, I have been struggling with MSPaint and OleContainers, but it
seems Microsoft has made this the most complicated thing I've seen so far (Congratulations, Ole!). And Borland(Inprise) has not been able to help this as much as they have helped with other subjects. I am now able to initialize the OleContainer from a bmp-file with OleContainer1.CreateObjectFromFile(FullPathToABmpFile, IsIconic); But I am not able to get the bitmap back from the container, once the This CreateObjectFromFile is, by the way, the only way to put the There is a mysterious CreateObjectFromInfo, which is a real MS-mess. There is another possibility: to use OleContainer1.CreateLinkToFile(FullPathToABmpFile, IsIconic); Which leaves the bitmap to the file after the user has stopped There seem to be a couple of others that are struggling with this same Or should we make a better bitmap-editor than MSPaint, for Delphi To be continued... Jouni Aro |