Annotation of os232sdk/toolkt20/c/samples/style/sty_xtrn.h, revision 1.1.1.1

1.1       root        1: /*==============================================================*\
                      2:  *                                                              *
                      3:  *  Xtrn.h - Sample external declarations                       *
                      4:  *      Created 1990, Microsoft, IBM  Corp.
                      5:  *                                                              *
                      6:  *--------------------------------------------------------------*
                      7:  *                                                              *
                      8:  *  This header file contains the application wide function     *
                      9:  *  declarations and global external variables.                 *
                     10:  *                                                              *
                     11: \*==============================================================*/
                     12: 
                     13: /*--------------------------------------------------------------*\
                     14:  *  Global variables                                            *
                     15: \*--------------------------------------------------------------*/
                     16: extern HWND hwndMainFrame;
                     17: extern HWND hwndMain;
                     18: extern HAB hab;
                     19: extern HMQ hmq;
                     20: extern HDC hdcMain;
                     21: extern CHAR szAppName[];
                     22: extern CHAR szUntitled[];
                     23: extern BOOL fPrintEnabled;
                     24: extern BOOL fHelpEnabled;
                     25: 
                     26: extern HWND hwndMLE;
                     27: 
                     28: /*--------------------------------------------------------------*\
                     29:  *  Entry point declarations                                    *
                     30: \*--------------------------------------------------------------*/
                     31: 
                     32: /* from sample.c */
                     33: BOOL cdecl main(VOID);
                     34: MRESULT EXPENTRY MainWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
                     35: SHORT MessageBox(HWND hwndOwner, SHORT idMsg, SHORT fsStyle, BOOL fBeep);
                     36: VOID MainCommand(MPARAM mp1, MPARAM mp2);
                     37: 
                     38: /* from init.c */
                     39: BOOL Init(VOID);
                     40: MRESULT InitMainWindow(HWND hwnd, MPARAM mp1, MPARAM mp2);
                     41: VOID PASCAL ExitProc(USHORT usTermCode);
                     42: 
                     43: /* from file.c */
                     44: VOID FileNew(MPARAM mp2);
                     45: VOID FileOpen(MPARAM mp2);
                     46: VOID FileSave(MPARAM mp2);
                     47: VOID FileSaveAs(MPARAM mp2);
                     48: VOID FilePrint(MPARAM mp2);
                     49: VOID FilePageSetup(MPARAM mp2);
                     50: VOID FilePrintSetup(MPARAM mp2);
                     51: VOID FileExit(MPARAM mp2);
                     52: VOID WriteFileToDisk(HFILE hf);
                     53: BOOL GetFileName(VOID);
                     54: VOID UpdateTitleText(HWND hwnd);
                     55: 
                     56: 
                     57: /* from edit.c */
                     58: VOID EditUndo(MPARAM mp2);
                     59: VOID EditCut(MPARAM mp2);
                     60: VOID EditCopy(MPARAM mp2);
                     61: VOID EditPaste(MPARAM mp2);
                     62: VOID EditClear(MPARAM mp2);
                     63: 
                     64: /* from user.c */
                     65: VOID UserCommand(MPARAM mp1, MPARAM mp2);
                     66: MRESULT UserWndProc(HWND hwnd, USHORT msg, MPARAM mp1, MPARAM mp2);
                     67: VOID InitMenu(MPARAM mp1, MPARAM mp2);
                     68: VOID EnableMenuItem(HWND hwndMenu, SHORT idItem, BOOL fEnable);
                     69: 
                     70: /* from prnt.c */
                     71: VOID PageSetup(HWND hwndOwner);
                     72: VOID PrintSetup(HWND hwndOwner);
                     73: VOID Print(HWND hwndOwner);
                     74: VOID InitPrintingDialogs(VOID);
                     75: 
                     76: /* from pnt.c */
                     77: VOID MainPaint(HWND hwnd);
                     78: 
                     79: /* from help.c */
                     80: VOID InitHelp(VOID);
                     81: VOID HelpHelpForHelp(MPARAM mp2);
                     82: VOID HelpExtended(MPARAM mp2);
                     83: VOID HelpKeys(MPARAM mp2);
                     84: VOID HelpIndex(MPARAM mp2);
                     85: VOID HelpTutorial(MPARAM mp2);
                     86: VOID HelpAbout(MPARAM mp2);
                     87: VOID DisplayHelpPanel(SHORT nPanelId);
                     88: VOID DestroyHelpInstance(VOID);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.