🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #582

CAlert::InformationAlert

#582
From: fycarl
Date: Thu, 08 Jan 2009 02:07
48 lines
1851 bytes
Hi all,

I m new to Indesign Programming.
(InDesign CS3 on Win XP)
I m trying to test "BasicMenu" (a sample file in SDK)

I found some codes:

/* DoAlwaysOn
* / void BscMnuActionComponent::DoAlwaysOn()
{
 CAlert::InformationAlert(kBscMnuAlwaysOnStringKey);
}

/* DoOnIfFrontDoc
* / void BscMnuActionComponent::DoOnIfFrontDoc()
{
 CAlert::InformationAlert(kBscMnuOnIfFrontDocStringKey);
}

/* DoNeedsSelection
* / void BscMnuActionComponent::DoNeedsSelection()
{
 CAlert::InformationAlert(kBscMnuNeedsSelectionStringKey);
}

When I click the plug-in menu, it display respectively:
"Activation of the 'Always enabled' menu item.[US]"
"Activation of the 'Needs front doc' menu item.[US]"
"Activation of the 'Needs layout selection' menu item.[US]"

I am very puzzled with it, I just only found the "Other StringKeys" in
"BscMnuID.h",
// Other StringKeys:
#define kBscMnuAboutBoxStringKey kBscMnuStringPrefix
"kBscMnuAboutBoxStringKey"
#define kBscMnuAlwaysOnStringKey kBscMnuStringPrefix
"kBscMnuAlwaysOnStringKey"
#define kBscMnuOnIfFrontDocStringKey kBscMnuStringPrefix
"kBscMnuOnIfFrontDocStringKey"
#define kBscMnuNeedsSelectionStringKey kBscMnuStringPrefix
"kBscMnuNeedsSelectionStringKey_"

Where are the displayed messages are defined? Can anybody help~~~

Thanks!

Carl
Technical Details
Message-ID: <59b774aa.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,1b2868b5b58a6508,start
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: fycarl@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: CAlert::InformationAlert
Message-ID: <59b774aa.-1@webcrossing.la2eafNXanI>
Date: Wed, 7 Jan 2009 18:07:47 -0800
Lines: 51
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit