:Base extdev.hlp>main :Title Click & Create Extension Development Kit 1 Corel Click & Create Extension Developement Kit 2 Welcome to the Corel Click & Create extension development kit! 3 Overview: Welcome to the Corel Click & Create extension development kit!=Welcome to the Corel Click Create extension development kit 3 List of files 4 Overview: List of files=List of files 4 Documentation=Documentation>proc4 4 Ext16.mak=Ext16mak>proc4 4 Ext32.mak=Ext32mak>proc4 3 Files found in the "Template" folder 4 Overview: Files found in the "Template" folder=Files found in the Template folder 4 Ext.c=Extc>proc4 4 Ext.h=Exth>proc4 4 ExtObj.rc=ExtObjrc>proc4 4 Extrc.h=Extrch>proc4 4 ExtObj.def=ExtObjdef>proc4 4 ExtObj32.def=ExtObj32def>proc4 4 ExtObj.mak=ExtObjmak>proc4 4 ExtObj32.mak=ExtObj32mak>proc4 4 Extcur.cur=Extcurcur>proc4 4 Exticon.bmp=Exticonbmp>proc4 4 Extimg.bmp=Extimgbmp>proc4 4 Exttool.bmp=Exttoolbmp>proc4 4 Proj32.*=Proj32>proc4 4 Winrel=Winrel>proc4 3 Files found in the "Inc" folder 4 Overview: Files found in the "Inc" folder=Files found in the Inc folder 4 Ccx.h=Ccxh>proc4 4 Ccxhdr.h=Ccxhdrh>proc4 4 Cnpdll.h=Cnpdllh>proc4 4 Cnpdll.inc and Cnpdll.i32=Cnpdllinc and Cnpdlli32>proc4 4 Cnpf.h=Cnpfh>proc4 4 Cnpf.inc and Cnpf.i32=Cnpfinc and Cnpfi32>proc4 4 Cnpy.h=Cnpyh>proc4 4 Cnpy.inc and Cnpy.i32=Cnpyinc and Cnpyi32>proc4 4 Ptype.h=Ptypeh>proc4 4 Ptype.inc and Ptype.i32=Ptypeinc and Ptypei32>proc4 3 Files found in the "Lib" folder 4 Overview: Files found in the "Lib" folder=Files found in the Lib folder 4 Cncs.lib =Cncslib >proc4 4 Cncs32.lib=Cncs32lib>proc4 2 Example objects 3 Overview: Example objects=Example objects 2 Create your extension, step by step 3 Overview: Create your extension, step by step=Create your extension step by step 3 Compile in 5 minutes=Compile in 5 minutes>proc4 3 Visual C++ 1.5 (16-bit version)=Visual C 15 16bit version>proc4 3 Visual C++ 4.0 (32-bit version)=Visual C 40 32bit version>proc4 3 Change the name and the icons=Change the name and the icons>proc4 3 Choose the properties=Choose the properties>proc4 3 Create the setup dialog=Create the setup dialog>proc4 3 Create the run-time routines=Create the runtime routines>proc4 3 Define conditions, actions, or expressions=Define conditions actions or expressions>proc4 3 Debugging your extension object=Debugging your extension object>proc4 3 Debugging in Visual C++ 1.5=Debugging in Visual C 15>proc4 3 Debugging in Visual C++ 4.0=Debugging in Visual C 40>proc4 2 Defining the object properties 3 Overview: Defining the object properties=Defining the object properties 3 OEFLAGS 4 Overview: OEFLAGS=OEFLAGS 4 OEFLAG_MOVEMENTS=OEFLAG_MOVEMENTS>proc4 4 OEFLAG_ANIMATIONS=OEFLAG_ANIMATIONS>proc4 4 OEFLAG_VALUES=OEFLAG_VALUES>proc4 4 Display properties 5 Overview: Display properties=Display properties 5 OEFLAG_BACKGROUND=OEFLAG_BACKGROUND>proc4 5 OEFLAG_SPRITES=OEFLAG_SPRITES>proc4 5 OEFLAG_BACKSAVE=OEFLAG_BACKSAVE>proc4 5 OEFLAG_INTERNALBACKSAVE=OEFLAG_INTERNALBACKSAVE>proc4 5 OEFLAG_QUICKDISPLAY=OEFLAG_QUICKDISPLAY>proc4 5 No OEFLAG_SPRITE or OEFLAG_BACKGROUND=No OEFLAG_SPRITE or OEFLAG_BACKGROUND>proc4 4 Other properties of OEFLAGS 5 Overview: Other properties of OEFLAGS=Other properties of OEFLAGS 5 OEFLAG_DISPLAYINFRONT=OEFLAG_DISPLAYINFRONT>proc4 5 OEFLAG_WINDOWPROC=OEFLAG_WINDOWPROC>proc4 5 OEFLAG_TABSTOP=OEFLAG_TABSTOP>proc4 5 OEFLAG_SCROLLINGINDEPENDANT=OEFLAG_SCROLLINGINDEPENDANT>proc4 5 OEFLAG_NEVERKILL=OEFLAG_NEVERKILL>proc4 5 OEFLAG_RUNBEFOREFADEIN=OEFLAG_RUNBEFOREFADEIN>proc4 5 OEFLAG_MANUALSLEEP=OEFLAG_MANUALSLEEP>proc4 4 What can you change in the setup of your object? 5 Overview: What can you change in the setup of your object?=What can you change in the setup of your object 5 Overview: The structures you must use in your runHeader structure=The structures you must use in your runHeader structure 3 OEPREFS 4 Overview: OEPREFS=OEPREFS 4 OEPREFS_BACKSAVE=OEPREFS_BACKSAVE>proc4 4 OEPREFS_BACKEFFECTS=OEPREFS_BACKEFFECTS>proc4 4 OEPREFS_QUICKDISPLAY=OEPREFS_QUICKDISPLAY>proc4 4 OEPREFS_SCROLLINGINDEPENDANT=OEPREFS_SCROLLINGINDEPENDANT>proc4 4 OEPREFS_LOADONCALL=OEPREFS_LOADONCALL>proc4 4 OEPREFS_GLOBAL=OEPREFS_GLOBAL>proc4 4 OEPREFS_SLEEP=OEPREFS_SLEEP>proc4 4 OEPREFS_KILL=OEPREFS_KILL>proc4 3 Examples of objects and flags 4 Overview: Examples of objects and flags=Examples of objects and flags 4 Objects with no output on the screen=Objects with no output on the screen>proc4 4 Objects opening a control on the frame window=Objects opening a control on the frame window>proc4 4 Objects opening a window on the frame window=Objects opening a window on the frame window>proc4 4 Objects drawn directly in the frame window=Objects drawn directly in the frame window>proc4 2 List of Necessary Routines 3 Overview: List of Necessary Routines=List of Necessary Routines 3 Edition time vs. run time routines=Edition time vs run time routines>proc4 3 List of general purpose routines=List of general purpose routines>proc4 3 DllMain=DllMain>proc4 3 LibMain=LibMain>proc4 3 WEP=WEP>proc4 3 Initialize=Initialize>proc4 3 Free=Free>proc4 3 GetInfos=GetInfos>proc4 3 GetRunObjectInfos=GetRunObjectInfos>proc4 3 Overview: List of edition-time routines=List of edition time routines 3 UpdateEditStructure=UpdateEditStructure>proc4 3 LoadObject=LoadObject>proc4 3 UnloadObject=UnloadObject>proc4 3 UpdateFileNames=UpdateFileNames>proc4 3 DefaultOI=DefaultOI>proc4 3 PutObject=PutObject>proc4 3 RemoveObject=RemoveObject>proc4 3 MakeIcon=MakeIcon>proc4 3 GetDesc=GetDesc>proc4 3 AppendPopup=AppendPopup>proc4 3 CreateObject=CreateObject>proc4 3 SelectPopup=SelectPopup>proc4 3 ModifyObject=ModifyObject>proc4 3 RebuildExt=RebuildExt>proc4 3 EndModifyObject=EndModifyObject>proc4 3 GetObjectCursor=GetObjectCursor>proc4 3 GetObjectRect=GetObjectRect>proc4 3 EditorDisplay=EditorDisplay>proc4 3 IsTransparent=IsTransparent>proc4 3 PrepareToWriteObject=PrepareToWriteObject>proc4 3 EnumElts=EnumElts>proc4 3 GetConditionMenu=GetConditionMenu>proc4 3 GetActionMenu=GetActionMenu>proc4 3 GetExpressionMenu=GetExpressionMenu>proc4 3 GetConditionTitle=GetConditionTitle>proc4 3 GetActionTitle=GetActionTitle>proc4 3 GetExpressionTitle=GetExpressionTitle>proc4 3 GetConditionCodeFromMenu=GetConditionCodeFromMenu>proc4 3 GetActionCodeFromMenu=GetActionCodeFromMenu>proc4 3 GetExpressionCodeFromMenu=GetExpressionCodeFromMenu>proc4 3 GetConditionInfos=GetConditionInfos>proc4 3 GetActionInfos=GetActionInfos>proc4 3 GetExpressionInfos=GetExpressionInfos>proc4 3 GetConditionString=GetConditionString>proc4 3 GetActionString=GetActionString>proc4 3 GetExpressionString=GetExpressionString>proc4 3 Overview: List of run-time routines=List of runtime routines 3 GetRunObjectDataSize=GetRunObjectDataSize>proc4 3 CreateRunObject=CreateRunObject>proc4 3 DestroyRunObject=DestroyRunObject>proc4 3 HandleRunObject=HandleRunObject>proc4 3 GetImageInfosRunObject=GetImageInfosRunObject>proc4 3 DisplayRunObject=DisplayRunObject>proc4 3 ReInitRunObject=ReInitRunObject>proc4 3 PauseRunObject=PauseRunObject>proc4 3 ContinueRunObject=ContinueRunObject>proc4 3 ChangeRunData=ChangeRunData>proc4 3 RestoreBackground=RestoreBackground>proc4 3 SaveBackground=SaveBackground>proc4 3 WindowProc=WindowProc>proc4 3 KillBackground=KillBackground>proc4 2 Actions, conditions and expressions 3 Overview: Actions, conditions and expressions=Actions conditions and expressions 3 The condition routine=The condition routine>proc4 3 The action routine=The action routine>proc4 3 The expression routine=The expression routine>proc4 3 Conditions and actions in resource files=Conditions and actions in resource files>proc4 3 Expressions in resource files=Expressions in resource files>proc4 3 Condition flags, true and false events=Condition flags true and false events>proc4 3 Condition-only parameters=Conditiononly parameters>proc4 3 PARAM_COMPARAISON=PARAM_COMPARAISON>proc4 3 PARAM_CMPTIME=PARAM_CMPTIME>proc4 3 PARAM_CMPSTRING=PARAM_CMPSTRING>proc4 3 Action and condition parameters=Action and condition parameters>proc4 3 PARAM_TIME=PARAM_TIME>proc4 3 PARAM_BORDER=PARAM_BORDER>proc4 3 PARAM_PLAYER=PARAM_PLAYER>proc4 3 PARAM_KEY=PARAM_KEY>proc4 3 PARAM_SPEED=PARAM_SPEED>proc4 3 PARAM_POSITION=PARAM_POSITION>proc4 3 PARAM_JOYDIR=PARAM_JOYDIR>proc4 3 PARAM_ZONE=PARAM_ZONE>proc4 3 PARAM_EXPRESSION=PARAM_EXPRESSION>proc4 3 PARAM_COLOUR=PARAM_COLOUR>proc4 3 PARAM_NEWDIRECTION=PARAM_NEWDIRECTION>proc4 3 PARAM_CLICK=PARAM_CLICK>proc4 3 PARAM_FILENAME=PARAM_FILENAME>proc4 3 PARAM_EXPSTRING=PARAM_EXPSTRING>proc4 3 Expression-only parameters=Expressiononly parameters>proc4 3 EXPPARAM_LONG=EXPPARAM_LONG>proc4 3 EXPPARAM_STRING=EXPPARAM_STRING>proc4 2 How to control a window from an extension 3 Overview: How to control a window from an extension=How to control a window from an extension 3 Interception of frame-window notification messages 4 Overview: Interception of frame-window notification messages=Interception of framewindow notification messages 4 Overview: Opening a new window=Opening a new window 4 Overview: Subclass your window=Subclass your window 4 Overview: Your main window procedure=Your main window procedure 4 Overview: How to handle palette messages=How to handle palette messages 4 Overview: Resizing the windows depending on the zoom option=Resizing the windows depending on the zoom option 4 Overview: Source example: the RTF object=Source example the RTF object 2 Important structures 3 Overview: Important structures=Important structures 3 EDITDATA=EDITDATA>proc4 3 mv=mv>proc4 3 ObjInfo=ObjInfo>proc4 3 LevelObject=LevelObject>proc4 3 RUNDATA=RUNDATA>proc4 3 HeaderObject=HeaderObject>proc4 3 RunHeader=RunHeader>proc4 3 Rhy=Rhy>proc4 2 Click & Create routines accessible from within an extension 3 Overview: Click & Create routines accessible from within an extension=Click Create routines accessible from within an extension 3 Routines accessible in edition time=Routines accessible in edition time>proc4 3 mvKncHelp=mvKncHelp>proc4 3 mvEditImage=mvEditImage>proc4 3 mvEditFont=mvEditFont>proc4 3 mvGetOcAddress=mvGetOcAddress>proc4 3 mvChooseColor=mvChooseColor>proc4 3 mvGetProfileInt=mvGetProfileInt>proc4 3 mvGetProfileString=mvGetProfileString>proc4 3 mvWriteProfileInt=mvWriteProfileInt>proc4 3 mvWriteProfileString=mvWriteProfileString>proc4 3 Routines accessible in run-time=Routines accessible in runtime>proc4 3 callRun-timeFunction=callRuntimeFunction>proc4 3 RFUNCTION_REHANDLE=RFUNCTION_REHANDLE>proc4 3 RFUNCTION_GENERATEEVENT=RFUNCTION_GENERATEEVENT>proc4 3 RFUNCTION_PUSHEVENT=RFUNCTION_PUSHEVENT>proc4 3 RFUNCTION_PUSHEVENTSTOP=RFUNCTION_PUSHEVENTSTOP>proc4 3 RFUNCTION_GETPARAM1=RFUNCTION_GETPARAM1>proc4 3 RFUNCTION_GETPARAM2=RFUNCTION_GETPARAM2>proc4 3 RFUNCTION_PAUSE=RFUNCTION_PAUSE>proc4 3 RFUNCTION_CONTINUE=RFUNCTION_CONTINUE>proc4 3 RFUNCTION_REDISPLAY=RFUNCTION_REDISPLAY>proc4 3 RFUNCTION_GETFILEINFOS=RFUNCTION_GETFILEINFOS>proc4 3 RFUNCTION_SUBCLASSWINDOW=RFUNCTION_SUBCLASSWINDOW>proc4 3 RFUNCTION_REDRAW=RFUNCTION_REDRAW>proc4 3 RFUNCTION_DESTROY=RFUNCTION_DESTROY>proc4 3 RFUNCTION_GETSTRINGSPACE=RFUNCTION_GETSTRINGSPACE>proc4 2 CNCS graphic library 3 Overview: CNCS graphic library=CNCS graphic library 3 CNCS applications and windows 4 Overview: CNCS applications and windows=CNCS applications and windows 3 Physical and logical windows 4 Overview: Physical and logical windows=Physical and logical windows 3 How to draw in the frame window 4 Overview: How to draw in the frame window=How to draw in the frame window 3 The run-time drawing process 4 Overview: The run-time drawing process=The runtime drawing process 3 Drawing your object in edition-time 4 Overview: Drawing your object in edition-time=Drawing your object in editiontime 3 Drawing your object in run-time 4 Overview: Drawing your object in run-time=Drawing your object in runtime 3 Graphic functions 4 Overview: Graphic functions=Graphic functions 4 WinGetHandle=WinGetHandle>proc4 4 WinGetHDC=WinGetHDC>proc4 4 WinReleaseHDC=WinReleaseHDC>proc4 4 WinGetHDCLog=WinGetHDCLog>proc4 4 WinReleaseHDCLog=WinReleaseHDCLog>proc4 4 WinGetLogRect =WinGetLogRect >proc4 4 WinClip=WinClip>proc4 4 WinPaper=WinPaper>proc4 4 WinPen =WinPen >proc4 4 WinGraphMode=WinGraphMode>proc4 4 WinGraphOp =WinGraphOp >proc4 4 WinPlot=WinPlot>proc4 4 WinLine=WinLine>proc4 4 WinRect=WinRect>proc4 4 WinFillRect=WinFillRect>proc4 4 WinFillBr=WinFillBr>proc4 4 WinGradRect=WinGradRect>proc4 4 WinScroll=WinScroll>proc4 4 WinAddZone=WinAddZone>proc4 4 SaveRect=SaveRect>proc4 4 RestoreRect=RestoreRect>proc4 3 Palette functions 4 Overview: Palette functions=Palette functions 4 GetKnpPalette=GetKnpPalette>proc4 4 GetNearestIndex=GetNearestIndex>proc4 4 GetRGB=GetRGB>proc4 4 GetOpaqueBlack=GetOpaqueBlack>proc4 3 Images and DIBs functions 4 Overview: Images and DIBs functions=Images and DIBs functions 4 InitDibHeader=InitDibHeader>proc4 4 FillDib=FillDib>proc4 4 DibToImageEx=DibToImageEx>proc4 4 DibToImage=DibToImage>proc4 4 DelImage=DelImage>proc4 4 ImagetoDib=ImagetoDib>proc4 4 RemapDib=RemapDib>proc4 4 PasteSprite=PasteSprite>proc4 4 PasteSpriteEffect=PasteSpriteEffect>proc4 3 Text and Font functions 4 Overview: Text and Font functions=Text and Font functions 4 AddFont=AddFont>proc4 4 DelFont=DelFont>proc4 4 GetFontInfos=GetFontInfos>proc4 4 WinCreateFont=WinCreateFont>proc4 4 WinPasteText=WinPasteText>proc4 4 LogFont32to16=LogFont32to16>proc4 4 CreateFontindirect16=CreateFontindirect16>proc4 3 Other functions 4 Overview: Other functions=Other functions 4 DialOpen=DialOpen>proc4 4 CloseSoundDevice=CloseSoundDevice>proc4 4 EnumFile=EnumFile>proc4