Advertisement
idsystems

CPP_RAD_Ejercicio13

May 18th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. /* ej13_Video
  2. Ejemplo de como usar un control de video para mostrarlo en la ventana */
  3. #include "radc++.h"
  4.  
  5. Form form1("Video Control - RAD C++ Ejemplo");
  6.  
  7. //Create a container to play video in
  8. // AUTO_ID is unique id of control (it is a macro)
  9. // form is parent window of it
  10. // 3rd argument is filename to play, see below
  11.  
  12. Video avi(AUTO_ID,form1,"clock.avi");
  13.  
  14. rad_main()
  15.     avi.fitExact(); //fit exact to the parent form area
  16. rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement