Category : Windows 3.X Files
Archive   : VI10.ZIP
Filename : VI.H

 
Output of file : VI.H contained in archive : VI10.ZIP
#include
#include
#include
#include
#include

#define CR 0x0d
#define LF 0x0a
#define BS 0x08


#define IDM_ABOUT 0x100 /* menu id's */
#define IDM_FILE 0x101

#define IDC_INVISIBLE 0x200

#define IDC_LISTBOX 0x201
#define IDC_PATH 0x202
#define IDC_TEXT 0x203
#define IDC_RECT 0x204

#define XORIGIN 0
#define YORIGIN 0

#define PAGES 1
#define LINELENGTH 128
#define LINESPERPAGE 50
#define MAXLINES LINESPERPAGE * PAGES

typedef struct
{
WORD wVirtKey;
int iMessage;
WORD wRequest;
} KeyStruct;

typedef struct
{
WORD Reserved;
WORD ResourceType;
WORD ResourceCount;
} ICONFILEHDR;

typedef struct
{
BYTE Width;
BYTE Height;
BYTE ColorCount;
BYTE Reserved1;
WORD Reserved2;
WORD Reserved3;
DWORD DIBSize;
DWORD DIBOffset;
} ICONDIRECTORY;
typedef ICONDIRECTORY FAR *LPICONDIRECTORY;



/*-------------------------------------------------------------- VI.C */
int PASCAL WinMain (HANDLE Inst ,HANDLE hPrevInst ,LPSTR lpCmdLine ,int nCmdShow );
BOOL AppInit (HANDLE hInstance );
long FAR PASCAL AppWndProc (HWND hWnd ,uint message ,WORD wParam ,LONG lParam );
void AppCommand (WORD wParam );
void VerticalScrollProcess (WORD wParam ,LONG lParam );
BOOL FAR PASCAL AppAbout (HWND hDlg ,uint message ,WORD wParam ,LONG lParam );
BOOL FAR PASCAL AppDlgProc (HWND hDlg ,uint message ,WORD wParam ,LONG lParam );
void UpdateListBox (HWND hDlg );
WORD GetListBoxIndex (HWND hDlg );
void StartApplication (void );
void Message (uchr *fmt_string ,...);
void MakeFileList (void );
void AdjustScrollBar (void );
void DisplayIconBitMap (HANDLE hBuf ,uint xLoc ,uint yLoc );
HANDLE GetIconBitMap (LPSTR FileName );
void ViewIcons (HDC hDC );
void ViewIconRow (HDC hDC ,int row );
void ShowIcon (uchr *FileName ,uint xLoc ,uint yLoc );




  3 Responses to “Category : Windows 3.X Files
Archive   : VI10.ZIP
Filename : VI.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/