f_reset_uc.srf 529 B

12345678910111213141516171819202122
  1. $PBExportHeader$f_reset_uc.srf
  2. global type f_reset_uc from function_object
  3. end type
  4. forward prototypes
  5. global subroutine f_reset_uc (long arg_mainid, long arg_width, long arg_height)
  6. end prototypes
  7. global subroutine f_reset_uc (long arg_mainid, long arg_width, long arg_height);IF IsValid(s_sys_win_open[arg_mainid].win) THEN
  8. w_publ_1ton_share_detail w_1
  9. w_1 = s_sys_win_open[arg_mainid].win
  10. w_1.uc_width = arg_width
  11. w_1.uc_height = arg_height
  12. w_1.TriggerEvent(Resize!)
  13. w_1.wf_reset_uc()
  14. END IF
  15. end subroutine