• Keine Ergebnisse gefunden

clsApp Resource Identifiers

Im Dokument PenPofnt GO (Seite 148-154)

Used to construct Application Framework resID's (see above).

#define appResId II next: 194

MakeTag(clsApp, 1)

13. PENPOINT API REFERENCE

Part 2 I PenPoint Application Framework

Tags used by StdMsg.

fdefine tagAppDeleteRequest MakeDialogTag(clsAppMgr, 0) fdefine tagAppDeleteSectRequest MakeDialogTag(clsAppMgr, 1) fdefine tagAppRevertRequest MakeDialogTag(clsAppMgr, 2) fdefine tagAppSystemShutdownRequest MakeDialogTag(clsAppMgr, 3) fdefine tagAppSystemSoftShutdownRequest MakeDialogTag(clsAppMgr, 4) Miscellaneous tags.

fdefine tagAppObject MakeTag(clsApp, 138)

fdefine tagAppClass MakeTag(clsApp, 118)

fdefine tagAppQHAppClass MakeTag(clsApp, 155)

fdefine tagAppTitleBar MakeTag(clsApp, 119)

fdefine tagAppMovelconMarquee MakeTag(clsApp, 135) fdefine tagAppCopylconMarquee MakeTag(clsApp, 136)

fdefine tagAppPrintMetrics MakeTag(clsApp, 139)

fdefine tagAppMenulmport MakeTag(clsApp, 148)

fdefin~ tagAppMenuExport MakeTag(clsApp, 149)

These identify each item in the SAMS menu bar.

fdefine tagAppMenuBar MakeTag(clsApp, 1)

fdefine tagAppMenuDocument MakeTag(clsApp, 2)

fdefine tagAppMenuEdit MakeTag(clsApp, 3)

fdefine tagAppMenuOptions MakeTag(clsApp, 4)

fdefine tagAppMenuCreate MakeTag(clsApp, 156)

These identify each item in the Document menu.

fdefine tagAppMenuCheckpoint MakeTag(clsApp, 5)

fdefine tagAppMenuRevert MakeTag(clsApp, 6)

fdefine tagAppMenuPrint MakeTag(clsApp, 7)

fdefine tagAppMenuPrintSetup MakeTag(clsApp, 8)

fdefine tagAppMenuSend MakeTag(clsApp, 9)

fdefine tagAppMenuAbout MakeTag(clsApp, 10)

These identify each item in the Edit menu.

fdefine tagAppMenuUndo MakeTag(clsApp, 11)

fdefine tagAppMenuSelectAll MakeTag(clsApp, 12)

fdefine tagAppMenuMove MakeTag(clsApp, 13)

fdefine tagAppMenuCopy MakeTag(clsApp, 14)

fdefine tagAppMenuDelete MakeTag(clsApp, 124)

fdefine tagAppMenuSearch MakeTag(clsApp, 125)

fdefine tagAppMenuSpell MakeTag(clsApp, 126)

These identify SAMS option sheets.

fdefine tagAppAboutOptSheet MakeTag(clsApp, 120)

fdefine tagAppDocOptSheet MakeTag(clsApp, 121)

fdefine tagAppPrintSetupOptSheet MakeTag(clsApp, 122)

fdefine tagApplconOptSheet MakeTag(clsApp, 123)

These identify each card in the Document option sheet.

fdefine tagAppOptControlsCard MakeTag(clsApp, 142) fdefine tagAppOptAccessCard MakeTag(clsApp, 143) fdefine tagAppOptCommentsCard MakeTag(clsApp, 144)

fdefine tagAppOptlconCard MakeTag(clsApp, 147)

fdefine tagAppOptGotoButtonCard MakeTag(clsApp, 154) fdefine tagAppOptlconWinCard MakeTag(clsApp, 172) These identify each card in the About option sheet.

fdefine tagAppOptlnfoCard MakeTag(clsApp, 140)

fdefine tagAppOptAboutCard MakeTag(clsApp, 141)

APPTAG.H 139 Resource Tags

~

These identify each card in the Print Setup option sheet. ali: 0

#define tagAppOptPrintCard MakeTag(clsApp, 145) loll ~

#define tagAppOptHeadersCard MakeTag(clsApp, 146)

~

#define tagAppOptErnbeddeeCard MakeTag(clsApp, 173)

These identify each item in the Borders & Controls card.

#define tagAppOptCtrls MakeTag(clsApp, 127)

#define tagAppOptCtrlsLabel MakeTag(clsApp, 128)

#define tagAppOptCtrlsOn MakeTag(clsApp, 129)

#define tagAppOptCtrlsOff MakeTag(clsApp, 130)

#define tagAppOptCtrlStyle MakeTag(clsApp, 131)

#define tagAppOptCtrlStyleLabel MakeTag(clsApp, 132)

#define tagAppOptCtrlTitleBar MakeTag(clsApp, 133)

#define tagAppOptCtrlMenuBar MakeTag(clsApp, 134)

#define tagAppOptCtrlScrollBars MakeTag(clsApp, 26)

#define tagAppOptCtrlCorkMargin MakeTag(clsApp, 27)

#define tagAppOptBorderStyle MakeTag(clsApp, 157)

#define tagAppOptBorderStyleLabel MakeTag(clsApp, 158)

#define tagAppOptBorderSingle MakeTag(clsApp, 159)

#define tagAppOptBorderDouble MakeTag(clsApp, 162)

#define tagAppOptBorderDashed MakeTag(clsApp, 161)

#define tagAppOptBorderNone MakeTag(clsApp, 160)

These identify each item in the Access card.

#define tagAppOptDelete MakeTag(clsApp, 28)

#define tagAppOptDeleteLabel MakeTag(clsApp, 29)

#define tagAppOptDeleteOn MakeTag(clsApp, 30)

#define tagAppOptDeleteOff MakeTag(clsApp, 31)

#define tagAppOptReadOnly MakeTag(clsApp, 32)

#define tagAppOptReadOnlyLabel MakeTag(clsApp, 33)

#define tagAppOptReadOnlyOn MakeTag(clsApp, 34)

#define tagAppOptReadOnlyOff MakeTag(clsApp, 35)

#define tagAppOptHotMode MakeTag(clsApp, 36)

#define tagAppOptHotModeLabel MakeTag(clsApp, 37)

#define tagAppOptHotModeOn MakeTag(clsApp, 38)

#define tagAppOptHotModeOff MakeTag(clsApp, 39) These identify each item in the Comments card.

#define t agAppOpt Comment sTable MakeTag(clsApp, 191)

#define tagAppOptTitle MakeTag(clsApp, 40)

#define tagAppOptTitleLabel MakeTag(clsApp, 41)

#define tagAppOptAuthor MakeTag(clsApp, 42)

#define tagAppOptAuthorLabel MakeTag(clsApp, 43)

#define tagAppOptComments MakeTag(clsApp, 44)

#define tagAppOptCommentsSWin MakeTag(clsApp, 190)

#define tagAppOptCommentsLabel MakeTag(clsApp, 45)

These identify each item in the About/Document card.

#define tagAppOptCreated MakeTag(clsApp, 46)

#define tagAppOptCreatedLabel MakeTag(clsApp, 47)

#define tagAppOptModified MakeTag(clsApp, 48)

#define tagAppOptModifiedLabel MakeTag(clsApp, 49)

#define tagAppOptFiledSize MakeTag(clsApp, 50)

#define tagAppOptFiledSizeLabel MakeTag(clsApp, 51)

#defihe tagAppOptActiveSize MakeTag(clsApp, 52)

#define tagAppOptActiveSizeLabel MakeTag(clsApp, 53)

These identify each item in the About/Application card.

#define tagAppOptApp MakeTag(clsApp, 54)

#define tagAppOptAppLabel MakeTag(clsApp, 55)

#define tagAppOptVersion MakeTag(clsApp, 56)

#define tagAppOptVersionLabel MakeTag(clsApp, 57)

140 PEN POINT API REFERENCE

Part 2 / Pen Point Application Framework

fdefine tagAppOptCompany MakeTag(clsApp, 58)

fdefine tagAppOptCompanyLabel MakeTag(clsApp, 59)

fdefine tagAppOptCopyright MakeTag(clsApp, 60)

fdefine tagAppOptCopyrightLabel MakeTag(clsApp, 61)

fdefine tagAppOptlcon MakeTag(clsApp, 62)

fdefine tagAppOptlconLabel MakeTag(clsApp, 63)

fdefine tagAppOptlconSmall MakeTag(clsApp, 64)

fdefine tagAppOptlconSmallLabel MakeTag(clsApp, 65) These identify each item in the Icon Window Layout card.

fdefine tagApplconWinLayout fdefine tagApplconWinLayoutLabel fdefine tagApplconWinTToB fdefine tagApplconWinBToT

fdefine tagApplconWinUnconstrained fdefine tagApplconWinStyle

fdefine tagApplconWinSty"IeLabel fdefine tagApplconWinKeepSame fdefine tagApplconWinOpenlnPlace

These identify each item in the Print Setup cards.

fdefine tagAppPaperSize fdefine tagAppPaperSizeLabel fdefine tagAppPaperWidth fdefine tagAppPaperHeight fdefine tagAppTopMargin fdefine tagAppTopMarginLabel fdefine tagAppBottomMargin fdefine tagAppBottomMarginLabel fdefine tagAppLeftMargin fdefine tagAppLeftMarginLabel fdefine tagAppRightMargin fdefine tagAppRightMarginLabel fdefine tagAppLeftHeader fdefine tagAppLeftHeaderLabel fdefine tagAppCenterHeader fdefine tagAppCenterHeaderLabel fdefine tagAppRightHeader fdefine tagAppRightHeaderLabel fdefine tagAppLeftFooter fdefine tagAppLeftFooterLabel fdefine tagAppCenterFooter fdefine tagAppCenterFooterLabel fdefine tagAppRightFooter fdefine tagAppRightFooterLabel fdefine tagAppEmbedVisible fdefine tagAppEmbedVisibleLabel fdefine tagAppOrientation fdefine tagAppOrientationLabel fdefine tagAppHeaderMargin fdefine tagAppHeaderMarginLabel fdefine tagAppFooterMargin fdefine tagAppFooterMarginLabel fdefine tagAppHeaderFont fdefine tagAppHeaderFontLabel fdefine tagAppHeaderSize fdefine tagAppHeaderSizeLabel fdefine tagAppFirstPage fdefine tagAppFirstPageLabel fdefine tagAppOtherLabel fdefine tagAppEmbedLoc fdefine tagAppEmbedLocLabel fdefine tagAppEmbedApplyTo

fdefine tagAppHeaderMarginOtherButton

MakeTag(clsApp, 163) MakeTag(clsApp, 164) MakeTag(clsApp, 165) MakeTag(clsApp, 166) MakeTag(clsApp, 167) MakeTag(clsApp, 168) MakeTag(clsApp, 169) MakeTag(clsApp, 170) MakeTag(clsApp, 171)

MakeTag(clsApp, 66) MakeTag(clsApp, 67) MakeTag(clsApp, 68) MakeTag(clsApp, 69) MakeTag(clsApp, 70) MakeTag(clsApp, 71) MakeTag(clsApp, 72) MakeTag(clsApp, 73) MakeTag(clsApp, 74) MakeTag(clsApp, 75) MakeTag(clsApp, 76) MakeTag(clsApp, 77) MakeTag(clsApp, 78) MakeTag(clsApp, 79) MakeTag(clsApp, 80) MakeTag(clsApp, 81) MakeTag(clsApp, 82) MakeTag(clsApp, 83) MakeTag(clsApp, 84) MakeTag(clsApp, 85) MakeTag(clsApp, 86) MakeTag(clsApp, 87) MakeTag(clsApp, 88) MakeTag(clsApp, 89) MakeTag(clsApp, 90) MakeTag(clsApp, 91) MakeTag(clsApp, 92) MakeTag(clsApp, 93) MakeTag(clsApp, 94) MakeTag(clsApp, 95) MakeTag(clsApp, 96) MakeTag(clsApp, 97) MakeTag(clsApp, 98) MakeTag(clsApp, 99) MakeTag(clsApp, 100) MakeTag(clsApp, 101) MakeTag(clsApp, 102) MakeTag(clsApp, 103) MakeTag(clsApp, 104) MakeTag(clsApp, 174) MakeTag(clsApp, 175) MakeTag(clsApp, 176) MakeTag(clsApp, 177)

#define tagAppHeaderMarginOtherField

#define tagAppFooterMarginOtherButton

#define tagAppFooterMarginOtherField

#define tagAppTopMarginOtherButton

#define tagAppTopMarginOtherField

#define tagAppBottomMarginOtherButton

#define tagAppBottomMarginOtherField

#define tagAppLeftMarginOtherButton

#define tagAppLeftMarginOtherField

#define tagAppRightMarginOtherButton

#define tagAppRightMarginOtherField

#define tagAppEmbedApplyToLabel

These identify each item in the Icon option card.

#define tagApplconTitle

#define tagApplconTitleLabel

#define tagApplconOpen

#define tagApplconOpenLabel

#define tagApplconOpenlnPlace

#define tagApplconOpenFloating

#define tagApplconType

#define tagApplconTypeLabel

#define tagApplconTypePictAndTitle

#defi~e tagApplconTypePictOnly

#define tagApplconTypeSmallPictAndTitle

#define tagApplconTypeSmlPictOverTitle

#define tagApplconTypeSmallPictOnly

These identify each item in the Goto Button option card.

#define tagAppGotoButtonTitle

#define tagAppGotoButtonTitleLabel

#define tagAppGotoButtonTargetDoc

#define tagAppGotoButtonTargetDocLabel

#define tagAppGotoButtonBorderLabel

#define tagAppGotoButtonBorder

#define tagAppGotoButtonSquare

#define tagAppGotoButtonRound

#define tagAppGotoButtonHRound

#define tagAppGotoButtonNone These identify various bitmaps.

#define tagApplconBitmap

#define tagAppSmalllconBitmap

#define tagAppDefaultDoclconBitmap

#define tagAppDefaultDocSmalllconBitmap

#define tagAppMovelconBitmap

#define tagAppCopylconBitmap

#define tagAppLinklconBitmap

#define tagAppClosedFolderBitmap

#define tagAppClosedFolderSmBitmap

#define tagAppOpenFolderBitmap

#define tagAppOpenFolderSmBitmap

APPTAG.H 141 Resource Tags

MakeTag(clsApp, 178) MakeTag(clsApp, 179) MakeTag(clsApp, 180) MakeTag(clsApp, 181) MakeTag(clsApp, 182) MakeTag(clsApp, 183) MakeTag(clsApp, 184) MakeTag(clsApp, 185) MakeTag(clsApp, 186) MakeTag(clsApp, 187) MakeTag(clsApp, 188) MakeTag(clsApp, 192)

MakeTag(clsApp, 105) MakeTag(clsApp, 106) MakeTag(clsApp, 107) MakeTag(clsApp, 108) MakeTag(clsApp, 109) MakeTag(clsApp, 110) MakeTag(clsApp, 111) MakeTag(clsApp, 112) MakeTag(clsApp, 113) MakeTag(clsApp, 114) MakeTag(clsApp, 115) MakeTag(clsApp, 116) MakeTag(clsApp, 117)

MakeTag(clsApp, 150) MakeTag(clsApp, 151) MakeTag(clsApp, 152) MakeTag(clsApp, 153) MakeTag(clsApp, 154) MakeTag(clsApp, 155) MakeTag(clsApp, 156) MakeTag(clsApp, 157) MakeTag(clsApp, 158) MakeTag(clsApp, 159)

MakeTag(clsApp, 15) MakeTag(clsApp, 16) MakeTag(clsApp, 17) MakeTag(clsApp, 18) MakeTag(clsApp, 19) MakeTag(clsApp, 20) MakeTag(clsApp, 21) MakeTag(clsApp, 22) MakeTag(clsApp, 23) MakeTag(clsApp, 24) MakeTag(clsApp, 25)

Tags used during the creation of a document to get default values for some fields from the application resource file.

#define tagAppMgrDefaultDocName

#define tagAppMgrDisplayedAppName

MakeTag(clsApp, 189) MakeTag(clsApp, 193)

APPWIN.H

This file contains the API definition for clsApp Win.

clsApp Win inherits from clsCustomLayout.

Provides support for embedded applications.

"AppWin" stands for Application Window.

Introduction

clsApp Win is an embedded window that manages an embedded document. It shrink-wraps around a clslcon object to display an icon to the user, like those on the bookshelf or embedded in a document.

When an icon with style awOpenlnPlace is tapped, the application window destroys the icon and opens the associated document into itself The application window then shrink-wraps around the document's main window.

Application Windows live in the process space and are filed with the embeddor document.

An application window reads its icon bitmap from metrics.resList of OSThisAppO in response to msglconProvideBitmap (see icon.h). It uses the following resID (see apptag.h):

MakeWknResIdX (read. resId, appResId, tagAppIconBitmap);

This bitmap is usually found in the app.res file of the application class for the associated document. The document can override this bitmap by filing a resource with the above resld into its doc.res file.

App Wins can also store their own private bitmaps. Use msgApp WinSetlconBitmap to give an application window a bitmap. This bitmap object will be filed by the application window. If an application window has its own bitmap object, it will not read from the resList.

fifndef APPWIN INCLUDED fdefine APPWIN_INCLUDED fifndef CLAYOUT INCLUDED finclude <clayout.h>

fendif

Im Dokument PenPofnt GO (Seite 148-154)