Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-21-2004, 12:21 PM
Junior Member
 
Join Date: Jun 2004
Posts: 4
Default help window

Thanks for quick relying at my about box topic.

Theres one more question:
how can I launch the help window?

And to implement the features of the standard context menu at
another place (button or menu), is it possible to get the source code
of the context menu?

Regards,
cable.
Reply With Quote
  #2 (permalink)  
Old 06-22-2004, 07:37 AM
Member
 
Join Date: Mar 2004
Posts: 44
Send a message via ICQ to anhedonic Send a message via MSN to anhedonic
Default Re:help window

well...im not sure what you mean but you can bundle a help document with your project

which would be extracted on execution.
Your could find out where it was extracted via

var path = getAdditionalFile();
Application.setBasePath(path);
Shell.open("myhelp.hlp");
or
Shell.open(path+"myhelp.hlp");

when you press F1 on your application it tries to open your help file by default...
i hope this helps... you should go through the swfkit's help file its pretty informative.

oh btw im not 100% that the above will work as i didnt test it...
I think this should get your noodle thinking to figure it out yourself, if your really stuck just say so in this topic.
Reply With Quote
  #3 (permalink)  
Old 06-22-2004, 10:11 AM
Junior Member
 
Join Date: Jun 2004
Posts: 4
Default Re:help window

Thanks,

in the IDE's Operation Panel tab bar under Apllication Definition/Behaviour I checked the option 'help'
so the Context Menu shows a help entry, and clicking at it will
launch that help window. Thats why I thought I don't have to call
var helppath = getAdditionalFile(); ... Application.setBasePath(helppath);
because its already known to the application ... Am I wrong?

Generally I would like to know, how the context menu works, because
I want to implement some of the features somewhere else, like graying out
unavailable viewing options etc..

cable

Reply With Quote
  #4 (permalink)  
Old 06-22-2004, 03:05 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:help window

function help()
{
Application.sendMessage(getMainWnd().handle, 0x0112, 32778, 0);
}

help();

The standard context menu cannot be modified, but you can define your own context menu using the menu editor.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:11 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.