home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2001 September / PC-WELT 9-2001.ISO / software / hw / brennen / flask_src.exe / Auxiliary.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-26  |  2.5 KB  |  72 lines

  1. /* 
  2.  *  Auxiliary.h
  3.  *
  4.  *    Copyright (C) Alberto Vigata - January 2000 - ultraflask@yahoo.com
  5.  *
  6.  *  This file is part of FlasKMPEG, a free MPEG to MPEG/AVI converter
  7.  *    
  8.  *  FlasKMPEG is free software; you can redistribute it and/or modify
  9.  *  it under the terms of the GNU General Public License as published by
  10.  *  the Free Software Foundation; either version 2, or (at your option)
  11.  *  any later version.
  12.  *   
  13.  *  FlasKMPEG is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  *  GNU General Public License for more details.
  17.  *   
  18.  *  You should have received a copy of the GNU General Public License
  19.  *  along with GNU Make; see the file COPYING.  If not, write to
  20.  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
  21.  *
  22.  */
  23.  
  24. #ifndef AUX_H
  25. #define AUX_H
  26.  
  27. HWND CreateNormalWindow(WNDPROC WndProc, HINSTANCE hInstance, HWND hParent);
  28. void WindowMove(HWND window, int x, int y);
  29. void WindowShow(HWND hWnd);
  30. void WindowHide(HWND hWnd);
  31. void WindowResize(HWND window, int w, int h);
  32. void WindowClientResize(HWND window, int w, int h);
  33.  
  34. void MenuCheck(HWND hWnd, int item);
  35. void MenuUnCheck(HWND hWnd, int item);
  36. void MenuEnable(HWND hWnd, int item);
  37. void MenuAddItem(HMENU hMenu,int item ,int wID, char *text);
  38. void MenuDisable(HWND hWnd, int item);
  39. void MenuSetText(HMENU hMenu,int item ,char *text );
  40. HMENU MenuGetPopup( HMENU hMenu, int item );
  41.  
  42. void SetText(HWND hWnd, char *text);
  43.  
  44. void TabSetText(HWND hTab, int item, char *text);
  45.  
  46. void DlgCheck(HWND hDlg, int item);
  47. void DlgUnCheck(HWND hDlg, int item);
  48.  
  49. bool DlgIsChecked(HWND hDlg, int item);
  50.  
  51. void DlgEnable(HWND hDlg, int item);
  52. void DlgDisable(HWND hDlg, int item);
  53. void DlgSetFocus(HWND hDlg, int control);
  54. int DlgGetInt(HWND hDlg, int item);
  55.  
  56. int DlgGetText( HWND hDlg, int item);
  57. char *DlgGetText( HWND hDlg, int item, char* text);
  58. void DlgSetText(HWND hDlg, int item, int number);
  59. void DlgSetText(HWND hDlg, int item, char* text);
  60. void DlgSetDouble(HWND hDlg, int item, double number);
  61. void DlgCheckBoxState(HWND hDlg, int item, int state);
  62.  
  63. int GetOutputFileName(HWND hWnd, char* fileName, char* Dir, char* Title);
  64.  
  65. //LIST BOXES
  66. void ListAddText(HWND list, char *text);
  67. int ListGetCur(HWND list);
  68. void ListSetCur(HWND list, int cur);
  69.  
  70. void MillisecondsToTime( char *str, DWORD time);
  71. StringFrameRate(int fr, char *sFrameRate);
  72. #endif