Home > Software engineering >  QT USES COM interface, how to jump to the specified page of the PPT
QT USES COM interface, how to jump to the specified page of the PPT

Time:02-15

The use of MFC can use this to jump
//select the slides at the specified index of the PPT,
Bool CPPTUtil: : SelectSlide (long slideIndex)
{
If (slideIndex & gt; M_pPPTObject - & gt; M_Slides. Get_Count ())
{
return false;
}

M_pPPTObject - & gt; M_curSlide=m_pPPTObject - & gt; M_Slides. Range (COleVariant (slideIndex));

return true;
}
The use of QT what to write?
  • Related