Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic why box  loadpicture with png  failed (Read 2018 times)
strong_peng
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 69
Joined: Jul 18th, 2007
why box  loadpicture with png  failed
Feb 9th, 2009 at 8:37am
Print Post  

To load jpg is ok, but load png ,the picture is not be seen!  why

code:
BoxItem boxMain=fChart->CreateBox(nX,nY,30,30);
boxMain.LoadPicture(strPic);
boxMain.SetToolTip(m_strLabel);
boxMain.SetText(m_strLabel );
boxMain.SetTextStyle(tsBelow);
boxMain.SetUserString(m_strValue);
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: why box  loadpicture with png  failed
Reply #1 - Feb 9th, 2009 at 9:43am
Print Post  
Because the OLE Picture type does not support loading PNGs.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint