| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: Overiding UI Menus |
From: "Dalton Spence"
@Date: Wed, 22 Jan 2003 21:24:09 -0500
@Sender: semware-owner{at}sawasdi.apana.org.au
From: "Carlo Hogeveen"
Sent: Monday, January 20, 2003 10:08 AM
> You have a point, but my choice was intentional.
> I prioritized a more loosly coupled solution
> above a more resource efficient one.
> The My.ui solution gets burned into TSE's .exe file,
> changing it, the MyUi.s solution does not.
> Granted, a wee point, but it's mine, and I'll stick to it!
> To each their own ultimate solution for world peace.
>
> Carlo
Actually, if you compile the UI shell from within the editor you will be
creating a TSEUI.DAT file (which you can delete) rather than burning it
into the executable. Remember how all this started with suggestions that
some of the UI procedures be made "public"? To do this with the UI shell,
insert the following block of code immediately after the #include
statements.
/**************************************************************************
Public Macros Block - Insert UI macros in public name procedure shells
to be used in external macros.
**************************************************************************/
public proc pmUIProcName() // Public name of UI procedure
mUIProcName()
end
This would be called using
ExecMacro("MyUi","pmUIProcName") if the shell is
in the Autoload list, or with
ExecMacro(".ui","pmUIProcName") if the shell
was burned in. BTW, my TSEPro help file says nothing about ExecMacro
commands with *two* string parameters to call public name procedures, so I
don't know in which string any command line parameters should be placed.
(Is there an "undocumented features for the advanced SAL programmer" list
somewhere that could tell me about things like this? :))
--
{at}=================================================={at}
| Dalton S. Spence, B.Sc. |
| Home Page: http://www.hwcn.org/~ag775/home.html |
| Family Motto: Virtute Acquiritur Honos |
| A scraper from Endsville rebuilds the light |
| bulb. FNORD! |
{at}=================================================={at}
--
TSEPro mailing list
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-BY: 633/267 270 @PATH: 800/846 1 640/954 774/605 123/500 106/1 379/1 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.