Post by George on Mar 5, 2021 12:48:12 GMT -5
Hi,
You can tell COVID has given all of us a lot more hours to fill in when you can't (or aren't supposed to) go out.
I clicked on a file in File Manager the other day and it popped open. Knowing what happens 'under the covers' I thought - "Man! That was just a blink"
So off I went to do a sort-of module level trace of just what
happens internally. I thought it might be interesting for others.
What I have below is just the major modules involved. All of them do lots of other calls to more minor SUBS and FUNCTIONS to accomplish their job.
George
You can tell COVID has given all of us a lot more hours to fill in when you can't (or aren't supposed to) go out.
I clicked on a file in File Manager the other day and it popped open. Knowing what happens 'under the covers' I thought - "Man! That was just a blink"
So off I went to do a sort-of module level trace of just what
happens internally. I thought it might be interesting for others.
What I have below is just the major modules involved. All of them do lots of other calls to more minor SUBS and FUNCTIONS to accomplish their job.
George
Assumptions:
* SPFLite just started
* Left mouse click to Open a file from File Manager
* File Profile has an IMACRO set
* The macro has only 1 Cmd: SPF_CMD("LINE UC ALL")
*
Windows Sends a WM_LBUTTONUP message to SPFLite
Insert an "S" into the Line Command Area
Send an WM_User ('Attention') message to SPFLite message queue
Return to Windows, WM_LBUTTONUP processing complete
Windows Sends the WM_User message to SPFLite
MainBUserMsg
| PostKeyBoard
| | FMLCmdValidate
| | FMLCmdSpread
| | FMLCmdProcess
| | | FMLCmdSelect
| | | | DoEdit
| | | | | CallTab
| | | | | | pCmdEDIT
| | | | | | | CmdParse
| | | | | | | LoadTheText
| | | | | | | | TabAdd
| | | | | | | | | PrfPBuildBndText
| | | | | | | | | PrfABuildBndText
| | | | | | | | | PrfReadAll
| | | | | | | | | PicInit
| | | | | | | | | LInitTxtData
| | | | | | | | | InitAFile
| | | | | | | | | | SetProfName
| | | | | | | | | | CopyAFile
| | | | | | | | | | | SetProfName
| | | | | | | | | | | ReadAll
| | | | | | | | | | | ClrLoad
| | | | | | | | | | | StateLoad
| | | | | | | | | | FileWatch
| | | | | | | | | | FileQueue
| | | | | | | | | UndoInit
| | | | | | | | | UndoSave
| | | | | | | | | SetStart
| | | | | | | pCmdMacro
| | | | | | | | CmdParse
| | | | | | | | MB_Call
| | | | | | | | | Invoke thinBasic
| | | | | | | | | | SPF_CMD
| | | | | | | | | | | LCtlProcess
| | | | | | | | | | | | LCtlPreProcess
| | | | | | | | | | | | LCtlTagLbl
| | | | | | | | | | | | LCtlValidate
| | | | | | | | | | | | LCtlTblA
| | | | | | | | | | | | LCtlImmediate
| | | | | | | | | | | | LCtlPairs
| | | | | | | | | | | CMDAssign
| | | | | | | | | | | | pCmdLine
| | | | | | | | | | | | | CmdParse
| | | | | | | | | | | | | ParseCriteria
| | | | | | | | | | | | | LCtlPreProcessEnt
| | | | | | | | | | | | | LCtlValidateEnt
| | | | | | | | | | | | TTblAdd
| | | | | | | | | | | | LCtlProcess
| | | | | | | | | | | | | LCtlPreProcess
| | | | | | | | | | | | | LCtlTagLbl
| | | | | | | | | | | | | LCtlValidate
| | | | | | | | | | | | | LCtlTblA
| | | | | | | | | | | | | LCtlImmediate
| | | | | | | | | | | | | LCtlPairs
| | | | | | | | | | | | LCtlCommands
| | | | | | | | | | | DispScreen
| DoPendingTabSwitch
| MarkLineNumb
| DoCursor
| DispScreen
Return to Windows, WM_User processing complete
All in a BLINK!