Stop Hook

Top  Previous  Next

When you press this button, you will see this window:

 

clip0008

You can choose to activate the Stop hook by the template (not controllable by the user) or by a user variable (controllable at run-time). When you choose "Changed by: Template", then the "Hook by Template" group is enabled, otherwise the "Hook by Variable" group is.

 

When you click on the "Replace Stop()" checkbox, you replace the standard Stop() window and function with the one supplied here, with all the features of the message box replacement.

 

 

If you pick the "User variable" option instead, you may select a global variable to hold the value of the activation status.

 

clip0009

 

The variable will hold a True or False value, to activate or not the Stop replacement (A BYTE type variable will do it).

To shorten the variable drop list, it will shown only the global variables that contains "hook" as part of the name, case insensitive (for example, "GLO:StopHook").

You have to load this variable at run-time (you may use the --- code template) and activate the hook in an embed with the --- code template for the Stop replacement to work.