Source language: Translate to:

Menu with sub-items (hpwImage)

General questions about NeoBook

Moderator: Neosoft Support

Menu with sub-items (hpwImage)

Postby fkapnist » Wed Sep 09, 2015 6:16 am

The freeware hpwImage plugin has popup menus in the hpwImage Sample Pub on page 4. However, when I click on the Popup button or Popup Reset, either nothing happens or I get an error message: "There is no Image control attached to an object named Rectangle 13."

Does anyone know how to get the sample pub to work?

:?:

.
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Re: Menu with sub-items (hpwImage)

Postby HPW » Wed Sep 09, 2015 7:02 am

Hello,

Have you pressed the button called 'Create Image' on the top left?

Per default on page entry is no image created.

Then you can press the button 'popup' and then use the right click on the image-area.

Regards

Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Menu with sub-items (hpwImage)

Postby stu » Wed Sep 09, 2015 7:38 am

HPW wrote:Hello,

Have you pressed the button called 'Create Image' on the top left?

Per default on page entry is no image created.

Then you can press the button 'popup' and then use the right click on the image-area.

Regards

Hans-Peter


I see in the demo that works pretty good, but I can't manage to use it on a project, since I'm looking for something like it...
Could you please explain some sort of bare minimum setup for a single item menu, no image working on a pub please?

Cheers
User avatar
stu
 
Posts: 318
Joined: Wed Aug 07, 2013 11:37 am

Re: Menu with sub-items (hpwImage)

Postby fkapnist » Wed Sep 09, 2015 8:38 am

stu wrote:
HPW wrote:Hello,

Have you pressed the button called 'Create Image' on the top left?

Per default on page entry is no image created.

Then you can press the button 'popup' and then use the right click on the image-area.

Regards

Hans-Peter


I see in the demo that works pretty good, but I can't manage to use it on a project, since I'm looking for something like it...
Could you please explain some sort of bare minimum setup for a single item menu, no image working on a pub please?

Cheers



I would also like to see a minimum code snippet for a simple, very basic popup menu with a sub-item that I can paste into my Neobook project and then modify according to my needs... I have tried everything including "Create Image" but I cannot get the sample pub to work... too much complexity in the sample pub makes it hard for me to understand...

I finally got the sample pub to work ! (I forgot to right click on the image area).... now I need to extract only the code that I need for my project... I think I will figure it out in due time ... thanks Hans!
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Re: Menu with sub-items (hpwImage)

Postby HPW » Wed Sep 09, 2015 8:55 am

I see in the demo that works pretty good, but I can't manage to use it on a project, since I'm looking for something like it...
Could you please explain some sort of bare minimum setup for a single item menu, no image working on a pub please?


You need the Image object for the right click Event.
In the button 'popup' you see the hpwImageActivatePopup with a variable [TextEntry86] with the menu source.
You could also use the wizard to write the source directly into the command.
The comment-line in the source or the wizard-window explain the structure of the menu-source.

Study the demo and you will learn how things work together.

Ps: This is a hpwImage-popup solution, no general purpose. The popup component is part of the Image-objekt.
It is not a system wide hook into every click-event. I have provided a popup in other plugins also.(hpwPlusMemo)

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Menu with sub-items (hpwImage)

Postby stu » Wed Sep 09, 2015 10:12 am

HPW wrote:Study the demo and you will learn how things work together.


Guilty!, I was being lazy... =)

HPW wrote:This is a hpwImage-popup solution, no general purpose.


Yeah... I gotcha, I just decided to use custom made cheap solution with some buttons into a container getting called on right click hovering a grid...

Image
User avatar
stu
 
Posts: 318
Joined: Wed Aug 07, 2013 11:37 am

Re: Menu with sub-items (hpwImage)

Postby fkapnist » Thu Sep 10, 2015 4:12 am

Re: This is a hpwImage-popup solution, no general purpose.

Does the hpwMenu plug-in allow you to position a menu anywhere in a window? I could only get the general menu to appear at the top left position, but I would like it to be lower down... Also, what is the difference between Menu and SysMenu commands?

:?

.
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Re: Menu with sub-items (hpwImage)

Postby fkapnist » Thu Sep 10, 2015 7:20 am

I made a quick and simple pop-up menu with icons and sub-items using the hpwPlusMemo and hpwSendKeys plug-ins. It uses menu buttons over rectangles that can be positioned anywhere on a page. The rectangles are normally used as "memos" but in this case they are blank hot spots...

Image

Copy this sample PUB into the hpwPlusMemo plugin folder and run it from there to see the menus with icons:

Code: Select all
NBW Publication Source File
(C)2015 NeoSoft Corp.
Title=PopUpMenus
Language=US
NeoBookVer=5.80
ScreenColors=16777216
ScreenWidth=640
ScreenHeight=600
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=29
BiDiMode=0
UseUpdateTimer=Yes
ReturnTime=60
SubroutineAction=:FileMenu¶hpwPlusMemoSetVar "[hpwMemoPopupMaskColor]" "clFuchsia"¶hpwPlusMemoActivatePopup "RPlusMemo2" "[TextEntry86]" "[PubDir]Pic0.bmp|[PubDir]Pic1.bmp|[PubDir]Pic2.bmp|[PubDir]Pic3.bmp|[PubDir]Pic4.bmp"¶hpwClickMouse "[PubLeft]+17" "[PubTop]+42" "R"¶Return¶:EditMenu¶hpwPlusMemoSetVar "[hpwMemoPopupMaskColor]" "clFuchsia"¶hpwPlusMemoActivatePopup "RPlusMemo3" "[TextEntry87]" "[PubDir]Pic0.bmp|[PubDir]Pic1.bmp|[PubDir]Pic2.bmp|[PubDir]Pic3.bmp|[PubDir]Pic4.bmp"¶hpwClickMouse "[PubLeft]+185" "[PubTop]+42" "R"¶Return¶:HelpMenu¶hpwPlusMemoSetVar "[hpwMemoPopupMaskColor]" "clFuchsia"¶hpwPlusMemoActivatePopup "RPlusMemo4" "[TextEntry88]" "[PubDir]Pic0.bmp|[PubDir]Pic1.bmp|[PubDir]Pic2.bmp|[PubDir]Pic3.bmp|[PubDir]Pic4.bmp"¶hpwClickMouse "[PubLeft]+355" "[PubTop]+42" "R"¶Return
ShapeTransColor=536870912
SplashProps=3
CompressPub=Yes
CompiledName=PopUpMenus.exe
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
FontsToCompile=|
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
Variables=[#10]¶[#13]¶[#34]¶[#91]¶[#93]¶[hpwMemoBackColor]¶[hpwMemoBorderStyle]¶[hpwMemoEnabled]¶[hpwMemoFontCharset]¶[hpwMemoFontColor]¶[hpwMemoFontName]¶[hpwMemoFontSize]¶[hpwMemoFontStyle]¶[hpwMemoHint]¶[hpwMemoPopupDisabled]¶[hpwMemoReadOnly]¶[hpwMemoScrollBars]¶[hpwMemoShowhint]¶[hpwMemoVisible]¶[hpwMemoWordWrap]¶[Keywords]¶[RPlusMemo1_ByteCount]¶[RPlusMemo1_ContextAction]¶[RPlusMemo1_CurLine]¶[RPlusMemo1_CurLinePos]¶[RPlusMemo1_LineCount]¶[RPlusMemo1_OnChangeAction]¶[RPlusMemo1_OnKeyDownAction]¶[RPlusMemo1_OnKeyUpAction]¶[RPlusMemo1_OnMouseDownAction]¶[RPlusMemo1_OnMouseMoveAction]¶[RPlusMemo1_OnMouseUpAction]¶[RPlusMemo1_SelLength]¶[RPlusMemo1_SelStart]¶[RPlusMemo1_SelText]¶[RPlusMemo1_Text]¶[Result]¶[Sections]¶[SelEntry6]¶[SelEntry7]¶[Settings]¶[TextEntry3]¶[TextEntry5]¶
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=MS Sans Serif
CustomFontSize=8
CustomFontStyle=1
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=OK
L_CANCEL=Cancel
L_YES=Yes
L_NO=No
L_CLOSE=Close
L_ERRORTITLE=Error
L_FINDTITLE=Find
L_FINDPROMPT=Find &What
L_FINDFIRST=&Find First
L_FINDNEXT=Find &Next
L_FINDERROR=Search text not found.
L_PWORDTITLE=Password Required
L_PWORDMSG=Before continuing, you must first|enter the correct password.
L_PWORDPROMPT=&Password:
L_PWORDERROR=That's not the right password!
L_MEDIAERROR=In order to play this type of file you must install|the appropriate multimedia hardware and/or|software.
L_INTERNETERROR=Unable to locate Internet Browser software.
L_ABORTFUNCTION=Do you want to cancel this function?
L_EXTRACTERROR=This file could not be extracted and cannot be played.
L_INSTDIRPROMPT=Please enter the drive and directory where you would like this program to be installed. To accept the default drive and directory, simply press Enter.
L_INSTFOLDERPROMPT=Do you wish to create a program folder?
L_INSTRUNPROMPT=Do you want to run
L_INSTDISKPROMPT=Please insert disk #
L_INSTDISKERROR=That's not the correct disk, try again.
L_INSTGENERROR=The installation has terminated.
L_INSTEXITPROMPT=Do you really want to cancel the installation?
L_INSTWINTITLE=Setup
L_INSTPROGTITLE=Extracting Files...
L_SENDEMAIL=Sending Mail...
L_MAILSERVER=Please enter the name of your outgoing email server:
L_COPY=Copy to Clipboard
L_SELECTALL=Select All
L_DONWLOADFILE=Downloading: %s
L_PLEASEWAIT=Please wait...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Open
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Close
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=Page 1
PageStyle=0
PageColor=-16777201
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
ShowMasterPage=No
EffectSpeed=0
PgEnterAction=. 1=On 0=Off¶hpwPlusMemoSetVar "[hpwMemoEnabled]" "1"¶. 1=On 0=Off¶hpwPlusMemoSetVar "[hpwMemoVisible]" "1"¶. 1=On 0=Off¶hpwPlusMemoSetVar "[hpwMemoReadOnly]" "1"¶¶hpwPlusMemoSetVar "[RPlusMemo2_OnPopupAction]" "SetVar [#34][#91]PopupHint[#93][#34] [#34]At RPlusMemo2_PopupAtPosX/RPlusMemo2_PopupAtPosY[#34]"¶hpwPlusMemoSetVar "[RPlusMemo2_OnPopupHintAction]" "SetVar [#34][#91]PopupHint[#93][#34] [#34][#91]RPlusMemo2_PopupHint[#93][#34]"¶¶hpwPlusMemoSetVar "[RPlusMemo3_OnPopupAction]" "SetVar [#34][#91]PopupHint[#93][#34] [#34]At RPlusMemo3_PopupAtPosX/RPlusMemo3_PopupAtPosY[#34]"¶hpwPlusMemoSetVar "[RPlusMemo3_OnPopupHintAction]" "SetVar [#34][#91]PopupHint[#93][#34] [#34][#91]RPlusMemo3_PopupHint[#93][#34]"¶¶hpwPlusMemoSetVar "[RPlusMemo4_OnPopupAction]" "SetVar [#34][#91]PopupHint[#93][#34] [#34]At RPlusMemo4_PopupAtPosX/RPlusMemo4_PopupAtPosY[#34]"¶hpwPlusMemoSetVar "[RPlusMemo4_OnPopupHintAction]" "SetVar [#34][#91]PopupHint[#93][#34] [#34][#91]RPlusMemo4_PopupHint[#93][#34]"¶¶. 0=Off any other width of gutter¶hpwPlusMemoSetVar "[hpwMemoGutterWidth]" "0"¶¶hpwPlusMemoCreate "RPlusMemo2" ""¶hpwPlusMemoCreate "RPlusMemo3" ""¶hpwPlusMemoCreate "RPlusMemo4" ""
ObjectType=5
Name=RPlusMemo4
X=349
Y=13
W=151
H=30
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
FillMode=Yes
TabOrder=7
ObjectType=5
Name=RPlusMemo2
X=10
Y=13
W=151
H=30
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
TabOrder=1
ObjectType=9
Name=TextEntry86
X=-188
Y=117
W=177
H=112
Anchor=0
Text=.  1.column =  0 means it is a PopupMenuItem any other number is number of subitems in a submenu which follows¶.  2.column = ImageIndex (-1 for none)¶.  3.column = Caption¶.  4.column = Shortcut (Does not fire, use a hidden button to fake it)¶.  5.column = Checked (0/1)¶.  6.column = Enabled (0/1)¶.  7.column = Help context id (integer)¶.  8.column = Name of menuitem¶.  9.column = Visible (0/1)¶. 10.column = RadioItem (0/1)¶. 11.column = Groupindex (integer)¶. 12.column = TagInteger (integer - Tag is used to number the action-vars)¶. 13.column = Hint¶. 14.column = OnClickAction¶. Submenulines must follow its submenuitem¶. Shortcut are defined language specific Ctrl+N(Shift/Alt or Strg+N/Umschalt/Alt¶. Shortcuts currently do not work directly because keyboard get not through to the plugin¶. Use a - to get a divider (Set tag 0)¶¶0|0|File item1|Ctrl+N|0|1|0|Item1|1|0|0|1|Hint Item1|Alertbox "File" "Item1"¶0|-1|-||0|1|0|Sep1|1|0|0|0||.¶3|1|File submenu1|||1|0|SubMenu1|1|0|0|2||Alertbox "File" "SubMenu1"¶0|2|File subitem1|Ctrl+O|0|1|0|SubItem1|1|0|0|3|Hint SubItem1|Alertbox "File" "SubItem1"¶0|3|File subitem2|Ctrl+P|0|1|0|SubItem2|1|0|0|4|Hint SubItem2|Alertbox "File" "SubItem2"¶0|4|File subitem3|Ctrl+Q|0|1|0|SubItem3|1|0|0|5|Hint SubItem3|Alertbox "File" "SubItem3"¶0|-1|-||0|1|0|Sep2|1|0|0|0||.¶0|2|File item2|Ctrl+R|0|1|0|Item2|1|0|0|6|Hint Item2|Alertbox "File" "Item2"¶0|3|File item3||0|1|0|Item3|1|0|0|7|Hint Item3|Alertbox "File" "Item3"¶
VarName=[TextEntry86]
Align=1
EditMultiLine=Yes
WordWrap=No
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=PushButton28
X=6
Y=12
W=157
H=29
Anchor=0
Text=File
Align=2
ImageStyle=0
BevelWidth=0
DepressEffect=No
ObjAction=GoSub "FileMenu"
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=9
Name=TextEntry87
X=-188
Y=237
W=177
H=112
Anchor=0
Text=.  1.column =  0 means it is a PopupMenuItem any other number is number of subitems in a submenu which follows¶.  2.column = ImageIndex (-1 for none)¶.  3.column = Caption¶.  4.column = Shortcut (Does not fire, use a hidden button to fake it)¶.  5.column = Checked (0/1)¶.  6.column = Enabled (0/1)¶.  7.column = Help context id (integer)¶.  8.column = Name of menuitem¶.  9.column = Visible (0/1)¶. 10.column = RadioItem (0/1)¶. 11.column = Groupindex (integer)¶. 12.column = TagInteger (integer - Tag is used to number the action-vars)¶. 13.column = Hint¶. 14.column = OnClickAction¶. Submenulines must follow its submenuitem¶. Shortcut are defined language specific Ctrl+N(Shift/Alt or Strg+N/Umschalt/Alt¶. Shortcuts currently do not work directly because keyboard get not through to the plugin¶. Use a - to get a divider (Set tag 0)¶¶0|0|Edit item1|Ctrl+N|0|1|0|Item1|1|0|0|1|Hint Item1|Alertbox "Edit" "Item1"¶0|-1|-||0|1|0|Sep1|1|0|0|0||.¶3|1|Edit submenu1|||1|0|SubMenu1|1|0|0|2||Alertbox "Edit" "SubMenu1"¶0|2|Edit subitem1|Ctrl+O|0|1|0|SubItem1|1|0|0|3|Hint SubItem1|Alertbox "Edit" "SubItem1"¶0|3|Edit subitem2|Ctrl+P|0|1|0|SubItem2|1|0|0|4|Hint SubItem2|Alertbox "Edit" "SubItem2"¶0|4|Edit subitem3|Ctrl+Q|0|1|0|SubItem3|1|0|0|5|Hint SubItem3|Alertbox "Edit" "SubItem3"¶0|-1|-||0|1|0|Sep2|1|0|0|0||.¶0|2|Edit item2|Ctrl+R|0|1|0|Item2|1|0|0|6|Hint Item2|Alertbox "Edit" "Item2"¶0|3|Edit item3||0|1|0|Item3|1|0|0|7|Hint Item3|Alertbox "Edit" "Item3"¶
VarName=[TextEntry87]
Align=1
EditMultiLine=Yes
WordWrap=No
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4
ObjectType=9
Name=TextEntry88
X=-187
Y=356
W=177
H=112
Anchor=0
Text=.  1.column =  0 means it is a PopupMenuItem any other number is number of subitems in a submenu which follows¶.  2.column = ImageIndex (-1 for none)¶.  3.column = Caption¶.  4.column = Shortcut (Does not fire, use a hidden button to fake it)¶.  5.column = Checked (0/1)¶.  6.column = Enabled (0/1)¶.  7.column = Help context id (integer)¶.  8.column = Name of menuitem¶.  9.column = Visible (0/1)¶. 10.column = RadioItem (0/1)¶. 11.column = Groupindex (integer)¶. 12.column = TagInteger (integer - Tag is used to number the action-vars)¶. 13.column = Hint¶. 14.column = OnClickAction¶. Submenulines must follow its submenuitem¶. Shortcut are defined language specific Ctrl+N(Shift/Alt or Strg+N/Umschalt/Alt¶. Shortcuts currently do not work directly because keyboard get not through to the plugin¶. Use a - to get a divider (Set tag 0)¶¶0|0|Help item1|Ctrl+N|0|1|0|Item1|1|0|0|1|Hint Item1|Alertbox "Help" "Item1"¶0|-1|-||0|1|0|Sep1|1|0|0|0||.¶3|1|Help submenu1|||1|0|SubMenu1|1|0|0|2||Alertbox "Help" "SubMenu1"¶0|2|Help subitem1|Ctrl+O|0|1|0|SubItem1|1|0|0|3|Hint SubItem1|Alertbox "Help" "SubItem1"¶0|3|Help subitem2|Ctrl+P|0|1|0|SubItem2|1|0|0|4|Hint SubItem2|Alertbox "Help" "SubItem2"¶0|4|Help subitem3|Ctrl+Q|0|1|0|SubItem3|1|0|0|5|Hint SubItem3|Alertbox "Help" "SubItem3"¶0|-1|-||0|1|0|Sep2|1|0|0|0||.¶0|2|Help item2|Ctrl+R|0|1|0|Item2|1|0|0|6|Hint Item2|Alertbox "Help" "Item2"¶0|3|Help item3||0|1|0|Item3|1|0|0|7|Hint Item3|Alertbox "Help" "Item3"¶
VarName=[TextEntry88]
Align=1
EditMultiLine=Yes
WordWrap=No
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=5
ObjectType=5
Name=RPlusMemo3
X=179
Y=13
W=151
H=30
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
FillMode=Yes
TabOrder=6
ObjectType=3
Name=PushButton27
X=175
Y=12
W=157
H=29
Anchor=0
Text=Edit
Align=2
ImageStyle=0
BevelWidth=0
DepressEffect=No
ObjAction=GoSub "EditMenu"
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=9
ObjectType=3
Name=PushButton29
X=346
Y=12
W=157
H=29
Anchor=0
Text=Help
Align=2
ImageStyle=0
BevelWidth=0
DepressEffect=No
ObjAction=GoSub "HelpMenu"
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=8


------------------------------------------------------------------------------------------------------------


This version requires a little less coding using the hpwImage and hpwSendKeys plug-ins. It uses menu buttons over rectangles that can be positioned anywhere on a page. The rectangles are normally used for "images" but in this case they are color filled hot spots. A hint is displayed in the bottom status bar..

Copy this sample PUB into the hpwImage plugin folder and run it from there to see the menus with icons:

Code: Select all
NBW Publication Source File
(C)2015 NeoSoft Corp.
Title=hpwImagePopUpMenus
Language=US
NeoBookVer=5.80
ScreenColors=16777216
ScreenWidth=640
ScreenHeight=600
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=29
BiDiMode=0
AllowESC=No
UseUpdateTimer=Yes
ReturnTime=60
SubroutineAction=:FileMenu¶hpwImageCreate "Rectangle13" "" "" "" "" "" "SetVar [#34][#91]PopupHint[#93][#34] [#34]At Rectangle13_PopupAtPosX/Rectangle13_PopupAtPosY[#34]" "SetVar [#34][#91]PopupHint[#93][#34] [#34][#91]Rectangle13_PopupHint[#93][#34]"¶hpwImageFillRect "Rectangle13" "0" "0" "151" "30" "clMenu"¶SetVar "[hpwImagePopupMaskColor]" "clFuchsia"¶hpwImageActivatePopup "Rectangle13" "[TextEntry86]" "[PubDir]Pic0.bmp|[PubDir]Pic1.bmp|[PubDir]Pic2.bmp|[PubDir]Pic3.bmp|[PubDir]Pic4.bmp"¶hpwClickMouse "[PubLeft]+17" "[PubTop]+42" "R"¶Return¶:EditMenu¶hpwImageCreate "Rectangle14" "" "" "" "" "" "SetVar [#34][#91]PopupHint[#93][#34] [#34]At Rectangle14_PopupAtPosX/Rectangle14_PopupAtPosY[#34]" "SetVar [#34][#91]PopupHint[#93][#34] [#34][#91]Rectangle14_PopupHint[#93][#34]"¶hpwImageFillRect "Rectangle14" "0" "0" "151" "30" "clMenu"¶SetVar "[hpwImagePopupMaskColor]" "clFuchsia"¶hpwImageActivatePopup "Rectangle14" "[TextEntry87]" "[PubDir]Pic0.bmp|[PubDir]Pic1.bmp|[PubDir]Pic2.bmp|[PubDir]Pic3.bmp|[PubDir]Pic4.bmp"¶hpwClickMouse "[PubLeft]+185" "[PubTop]+42" "R"¶Return¶:HelpMenu¶hpwImageCreate "Rectangle15" "" "" "" "" "" "SetVar [#34][#91]PopupHint[#93][#34] [#34]At Rectangle15_PopupAtPosX/Rectangle15_PopupAtPosY[#34]" "SetVar [#34][#91]PopupHint[#93][#34] [#34][#91]Rectangle15_PopupHint[#93][#34]"¶hpwImageFillRect "Rectangle15" "0" "0" "151" "30" "clMenu"¶SetVar "[hpwImagePopupMaskColor]" "clFuchsia"¶hpwImageActivatePopup "Rectangle15" "[TextEntry88]" "[PubDir]Pic0.bmp|[PubDir]Pic1.bmp|[PubDir]Pic2.bmp|[PubDir]Pic3.bmp|[PubDir]Pic4.bmp"¶hpwClickMouse "[PubLeft]+355" "[PubTop]+42" "R"¶Return
ShapeTransColor=536870912
SplashProps=3
CompressPub=Yes
CompiledName=hpwImagePopUpMenus.exe
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
FontsToCompile=|
CopyExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
Variables=[#10]¶[#13]¶[#34]¶[#91]¶[#93]¶[*/*hpwImageDPI]¶[BitmapFile]¶[CenterX]¶[CenterY]¶[ColorCirclePosLeft]¶[ColorCirclePosTop]¶[ColorCircleX]¶[ColorCircleY]¶[ComboBox1]¶[ComboBox2]¶[ComboBox4]¶[ComboBox5]¶[Counter]¶[DragColor]¶[DragOverColor]¶[EMouseCamSize]¶[EqualFlag]¶[EqualFlag2]¶[Fext]¶[FileExDir]¶[FindFlag]¶[FindFlag_Count]¶[FindFlag_Pos]¶[FontCharset]¶[Fontname]¶[FontSize]¶[FontStyle]¶[hpwCarLoadFrameCount]¶[hpwCarLoadFrameWidth]¶[hpwCarLoadHeight]¶[hpwCarLoadWidth]¶[hpwCarSaveFrameCount]¶[hpwColorCircleButton1Action]¶[hpwColorCircleButton1Caption]¶[hpwColorCircleButton1Visible]¶[hpwColorCircleButton2Action]¶[hpwColorCircleButton2Caption]¶[hpwColorCircleButton2Visible]¶[hpwColorCircleCancelButtonCaption]¶[hpwColorCircleOKButtonCaption]¶[hpwColorCirclePickButtonCaption]¶[hpwColorCirclePosLeft]¶[hpwColorCirclePosTop]¶[hpwImageAbsoluteXSize]¶[hpwImageAbsoluteYSize]¶[hpwImageAntiAliased]¶[hpwImageBGColor]¶[hpwImageClickMode]¶[hpwImageColorDialogOptions]¶[hpwImageDoubleBuffered]¶[hpwImageDragDrop]¶[hpwImageDragOver]¶[hpwImageDragOverRect]¶[hpwImageEndDrag]¶[hpwImageMouseCamSize]¶[hpwImageMouseCamWidth]¶[hpwImageMouseMoveRect]¶[hpwImagePopupMaskColor]¶[hpwImagePrepareGetRectArea]¶[hpwImagePrepareMouseCam]¶[hpwImagePrepareStamp]¶[hpwImageScaled]¶[hpwImageStampButton]¶[hpwImageStampSnapColor]¶[hpwImageStampSnapDistance]¶[hpwImageStartDrag]¶[hpwImageTextSize]¶[hpwImageTransparent]¶[HSL_Hvar]¶[HSL_Lvar]¶[HSL_Svar]¶[LispEntry]¶[LispReturn]¶[MimeStream]¶[MoveColor3]¶[MoveColor4]¶[MoveX]¶[MoveY]¶[MyVar]¶[NViewLibXsize]¶[NViewLibYsize]¶[PickColor]¶[PickX]¶[PickY]¶[PopupHint]¶[Rectangle13_LClickX]¶[Rectangle13_LClickY]¶[Rectangle13_LDownX]¶[Rectangle13_LDownY]¶[Rectangle13_MaxX]¶[Rectangle13_MaxY]¶[Rectangle13_MoveX]¶[Rectangle13_MoveY]¶[Rectangle13_PopupHint]¶[RGetAreaImage_GetAreaEndX]¶[RGetAreaImage_GetAreaEndY]¶[RGetAreaImage_GetAreaStartX]¶[RGetAreaImage_GetAreaStartY]¶[RGetAreaImage_MoveX]¶[RGetAreaImage_MoveY]¶[RImage1_LClickX]¶[RImage1_LClickY]¶[RImage1_MaxX]¶[RImage1_MaxY]¶[RImage1_MClickX]¶[RImage1_MClickY]¶[RImage1_MoveX]¶[RImage1_MoveY]¶[RImage1_PenPosX]¶[RImage1_PenPosY]¶[RImage1_RClickX]¶[RImage1_RClickY]¶[RImage1_TextHeight]¶[RImage1_TextWidth]¶[RImage2_LClickX]¶[RImage2_LClickY]¶[RImage2_LDownX]¶[RImage2_LDownY]¶[RImage2_MaxX]¶[RImage2_MaxY]¶[RImage2_MClickX]¶[RImage2_MClickY]¶[RImage2_MoveX]¶[RImage2_MoveY]¶[RImage2_RClickX]¶[RImage2_RClickY]¶[RImage3_DragMode]¶[RImage3_DragOverX]¶[RImage3_DragOverY]¶[RImage3_DropX]¶[RImage3_DropY]¶[RImage3_EndDragX]¶[RImage3_EndDragY]¶[RImage3_HotSpotColor]¶[RImage3_LClickX]¶[RImage3_LClickY]¶[Rimage3_LDownX]¶[Rimage3_LDownY]¶[RImage3_MaxX]¶[RImage3_MaxY]¶[RImage3_MoveX]¶[RImage3_MoveY]¶[RImage4_DragOverX]¶[RImage4_DragOverY]¶[RImage4_DropColor]¶[RImage4_DropMode]¶[RImage4_DropX]¶[RImage4_DropY]¶[RImage4_EndDragX]¶[RImage4_EndDragY]¶[RImage4_LClickX]¶[RImage4_LClickY]¶[RImage4_MaxX]¶[RImage4_MaxY]¶[RImage4_MoveX]¶[RImage4_MoveY]¶[RScroll1_Position]¶[RStampImage_BounderyBottom]¶[RStampImage_BounderyLeft]¶[RStampImage_BounderyRight]¶[RStampImage_BounderyTop]¶[RStampImage_FontCharSet]¶[RStampImage_FontStyle]¶[RStampImage_MoveX]¶[RStampImage_MoveY]¶[RStampImage_SnapX]¶[RStampImage_SnapY]¶[RStampImage_StampHeight]¶[RStampImage_StampNoColorSnapAction]¶[RStampImage_StampWidth]¶[RTFVAR]¶[SelColor]¶[StampName]¶[Test.bmp.MimeStreamLength]¶[Test.jpg.MimeStreamLength]¶[Test.png.Height]¶[Test.png.MimeStreamContent]¶[Test.png.MimeStreamCreator]¶[Test.png.MimeStreamLength]¶[Test.png.MimeStreamType]¶[Test.png.Width]¶[TestString]¶[TESTVAR]¶[TextAngle]¶[TextEntry1]¶[TextEntry10]¶[TextEntry107]¶[TextEntry11]¶[TextEntry12]¶[TextEntry13]¶[TextEntry14]¶[TextEntry15]¶[TextEntry16]¶[TextEntry17]¶[TextEntry18]¶[TextEntry19]¶[TextEntry2]¶[TextEntry20]¶[TextEntry21]¶[TextEntry22]¶[TextEntry23]¶[TextEntry24]¶[TextEntry25]¶[TextEntry26]¶[TextEntry27]¶[TextEntry28]¶[TextEntry29]¶[TextEntry3]¶[TextEntry30]¶[TextEntry31]¶[TextEntry32]¶[TextEntry35]¶[TextEntry36]¶[TextEntry37]¶[TextEntry38]¶[TextEntry39]¶[TextEntry4]¶[TextEntry40]¶[TextEntry41]¶[TextEntry42]¶[TextEntry43]¶[TextEntry44]¶[TextEntry45]¶[TextEntry48]¶[TextEntry49]¶[TextEntry5]¶[TextEntry50]¶[TextEntry51]¶[TextEntry52]¶[TextEntry53]¶[TextEntry54]¶[TextEntry55]¶[TextEntry56]¶[TextEntry57]¶[TextEntry58]¶[TextEntry59]¶[TextEntry6]¶[TextEntry60]¶[TextEntry61]¶[TextEntry62]¶[TextEntry63]¶[TextEntry68]¶[TextEntry69]¶[TextEntry7]¶[TextEntry70]¶[TextEntry71]¶[TextEntry72]¶[TextEntry73]¶[TextEntry74]¶[TextEntry75]¶[TextEntry76]¶[TextEntry77]¶[TextEntry78]¶[TextEntry79]¶[TextEntry8]¶[TextEntry80]¶[TextEntry81]¶[TextEntry82]¶[TextEntry83]¶[TextEntry84]¶[TextEntry86]¶[TextEntry87]¶[TextEntry88]¶[TextEntry89]¶[TextEntry9]¶[TextEntry90]¶[TextEntry91]¶[TextEntry92]¶[TextEntry93]¶[TextEntry94]¶[TextEntry95]¶[TextEntry96]¶[TextEntry97]¶[TextEntry98]¶[XSize]¶[YOffStamp]¶[YSize]¶
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
EmbeddedFiles=Circle1.bmp=C:\Programme\NeoBook5\Plugins\hpwImage\Circle1.bmp¶CircleMask2.bmp=C:\Programme\NeoBook5\Plugins\hpwImage\CircleMask2.bmp¶Drag4.png=C:\Programme\NeoBook5\Plugins\hpwImage\Drag4.png¶Test.BMP=C:\Programme\NeoBook5\Plugins\hpwImage\Test.BMP¶Test.jpg=C:\Programme\NeoBook5\Plugins\hpwImage\Test.jpg¶Wolf_1.bmp=C:\Programme\NeoBook5\Plugins\hpwImage\Wolf_1.bmp¶Wolf_1.gif=C:\Programme\NeoBook5\Plugins\hpwImage\Wolf_1.gif¶Wolf_1.png=C:\Programme\NeoBook5\Plugins\hpwImage\Wolf_1.png¶Wolf_1.psd=C:\Programme\NeoBook5\Plugins\hpwImage\Wolf_1.psd¶Wolf_1.stw=C:\Programme\NeoBook5\Plugins\hpwImage\Wolf_1.stw¶Wolf_4.stw=C:\Programme\NeoBook5\Plugins\hpwImage\Wolf_4.stw
CustomFontName=MS Sans Serif
CustomFontSize=8
CustomFontStyle=1
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=OK
L_CANCEL=Cancel
L_YES=Yes
L_NO=No
L_CLOSE=Close
L_ERRORTITLE=Error
L_FINDTITLE=Find
L_FINDPROMPT=Find &What
L_FINDFIRST=&Find First
L_FINDNEXT=Find &Next
L_FINDERROR=Search text not found.
L_PWORDTITLE=Password Required
L_PWORDMSG=Before continuing, you must first|enter the correct password.
L_PWORDPROMPT=&Password:
L_PWORDERROR=That's not the right password!
L_MEDIAERROR=In order to play this type of file you must install|the appropriate multimedia hardware and/or|software.
L_INTERNETERROR=Unable to locate Internet Browser software.
L_ABORTFUNCTION=Do you want to cancel this function?
L_EXTRACTERROR=This file could not be extracted and cannot be played.
L_INSTDIRPROMPT=Please enter the drive and directory where you would like this program to be installed. To accept the default drive and directory, simply press Enter.
L_INSTFOLDERPROMPT=Do you wish to create a program folder?
L_INSTRUNPROMPT=Do you want to run
L_INSTDISKPROMPT=Please insert disk #
L_INSTDISKERROR=That's not the correct disk, try again.
L_INSTGENERROR=The installation has terminated.
L_INSTEXITPROMPT=Do you really want to cancel the installation?
L_INSTWINTITLE=Setup
L_INSTPROGTITLE=Extracting Files...
L_SENDEMAIL=Sending Mail...
L_MAILSERVER=Please enter the name of your outgoing email server:
L_COPY=Copy to Clipboard
L_SELECTALL=Select All
L_DONWLOADFILE=Downloading: %s
L_PLEASEWAIT=Please wait...
TrayMenuBegin
MenuName=MenuItem1
MenuText=Open
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=MenuItem2
MenuText=Close
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=Page1
PageStyle=0
PageColor=-2147483633
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
ObjectType=9
Name=TextEntry86
X=-154
Y=125
W=120
H=81
Anchor=0
Text=.  1.column =  0 means it is a PopupMenuItem any other number is number of subitems in a submenu which follows¶.  2.column = ImageIndex (-1 for none)¶.  3.column = Caption¶.  4.column = Shortcut (Does not fire, use a hidden button to fake it)¶.  5.column = Checked (0/1)¶.  6.column = Enabled (0/1)¶.  7.column = Help context id (integer)¶.  8.column = Name of menuitem¶.  9.column = Visible (0/1)¶. 10.column = RadioItem (0/1)¶. 11.column = Groupindex (integer)¶. 12.column = TagInteger (integer - Tag is used to number the action-vars)¶. 13.column = Hint¶. 14.column = OnClickAction¶. Submenulines must follow its submenuitem¶. Shortcut are defined language specific Ctrl+N(Shift/Alt or Strg+N/Umschalt/Alt¶. Shortcuts currently do not work directly because keyboard get not through to the plugin¶. Use a - to get a divider (Set tag 0)¶¶0|0|File item1|Ctrl+N|0|1|0|Item1|1|0|0|1|Hint Item1|Alertbox "File" "Item1"¶0|-1|-||0|1|0|Sep1|1|0|0|0||.¶3|1|File submenu1|||1|0|SubMenu1|1|0|0|2||Alertbox "File" "SubMenu1"¶0|2|File subitem1|Ctrl+O|0|1|0|SubItem1|1|0|0|3|Hint SubItem1|Alertbox "File" "SubItem1"¶0|3|File subitem2|Ctrl+P|0|1|0|SubItem2|1|0|0|4|Hint SubItem2|Alertbox "File" "SubItem2"¶0|4|File subitem3|Ctrl+Q|0|1|0|SubItem3|1|0|0|5|Hint SubItem3|Alertbox "File" "SubItem3"¶0|-1|-||0|1|0|Sep2|1|0|0|0||.¶0|2|File item2|Ctrl+R|0|1|0|Item2|1|0|0|6|Hint Item2|Alertbox "File" "Item2"¶0|3|File item3||0|1|0|Item3|1|0|0|7|Hint Item3|Alertbox "File" "Item3"¶
VarName=[TextEntry86]
Align=1
EditMultiLine=Yes
WordWrap=No
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=3
ObjectType=8
Name=Text25
X=3
Y=559
W=635
H=40
Anchor=0
Font=Arial
FontSize=10
FontStyle=0
FontCharset=1
TextColor=0
Text={\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset1 Arial;}}{\colortbl\red0\green0\blue0;\red255\green0\blue0;\red0\green128\blue0;\red0\green0\blue255;\red255\green255\blue0;\red255\green0\blue255;\red128\green0\blue128;\red128\green0\blue0;\red0\green255\blue0;\red0\green255\blue255;\red0\green128\blue128;\red0\green0\blue128;\red255\green255\blue255;\red192\green192\blue192;\red128\green128\blue128;\red0\green0\blue0;\red0\green0\blue0;}\paperw12240\paperh15840\margl1440\margr1440\margt1440\margb1440\margh720\margf720{\*\pnseclvl1\pnucrm\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl2\pnucltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl3\pndec\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}¶{\*\pnseclvl4\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{)}}}¶{\*\pnseclvl5\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl6\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl7\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl8\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶{\*\pnseclvl9\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}¶\endnhere\sectdefaultcl{\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 [Rectangle13_PopupHint]\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 [PopupHint]\par¶\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs20\cf0 }}¶}
HMargin=2
VMargin=2
LineColor=0
LineWidth=1
LineStyle=0
FillColor=-2147483624
FillPattern=0
TabOrder=6
ObjectType=5
Name=Rectangle13
X=10
Y=13
W=151
H=30
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
TabOrder=0
ObjectType=5
Name=Rectangle14
X=179
Y=13
W=151
H=30
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
TabOrder=8
ObjectType=5
Name=Rectangle15
X=349
Y=13
W=151
H=30
Anchor=0
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
TabOrder=9
ObjectType=9
Name=TextEntry87
X=-152
Y=222
W=120
H=81
Anchor=0
Text=.  1.column =  0 means it is a PopupMenuItem any other number is number of subitems in a submenu which follows¶.  2.column = ImageIndex (-1 for none)¶.  3.column = Caption¶.  4.column = Shortcut (Does not fire, use a hidden button to fake it)¶.  5.column = Checked (0/1)¶.  6.column = Enabled (0/1)¶.  7.column = Help context id (integer)¶.  8.column = Name of menuitem¶.  9.column = Visible (0/1)¶. 10.column = RadioItem (0/1)¶. 11.column = Groupindex (integer)¶. 12.column = TagInteger (integer - Tag is used to number the action-vars)¶. 13.column = Hint¶. 14.column = OnClickAction¶. Submenulines must follow its submenuitem¶. Shortcut are defined language specific Ctrl+N(Shift/Alt or Strg+N/Umschalt/Alt¶. Shortcuts currently do not work directly because keyboard get not through to the plugin¶. Use a - to get a divider (Set tag 0)¶¶0|0|Edit item1|Ctrl+N|0|1|0|Item1|1|0|0|1|Hint Item1|Alertbox "Edit" "Item1"¶0|-1|-||0|1|0|Sep1|1|0|0|0||.¶3|1|Edit submenu1|||1|0|SubMenu1|1|0|0|2||Alertbox "Edit" "SubMenu1"¶0|2|Edit subitem1|Ctrl+O|0|1|0|SubItem1|1|0|0|3|Hint SubItem1|Alertbox "Edit" "SubItem1"¶0|3|Edit subitem2|Ctrl+P|0|1|0|SubItem2|1|0|0|4|Hint SubItem2|Alertbox "Edit" "SubItem2"¶0|4|Edit subitem3|Ctrl+Q|0|1|0|SubItem3|1|0|0|5|Hint SubItem3|Alertbox "Edit" "SubItem3"¶0|-1|-||0|1|0|Sep2|1|0|0|0||.¶0|2|Edit item2|Ctrl+R|0|1|0|Item2|1|0|0|6|Hint Item2|Alertbox "Edit" "Item2"¶0|3|Edit item3||0|1|0|Item3|1|0|0|7|Hint Item3|Alertbox "Edit" "Item3"¶
VarName=[TextEntry87]
Align=1
EditMultiLine=Yes
WordWrap=No
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=10
ObjectType=9
Name=TextEntry88
X=-150
Y=328
W=120
H=81
Anchor=0
Text=.  1.column =  0 means it is a PopupMenuItem any other number is number of subitems in a submenu which follows¶.  2.column = ImageIndex (-1 for none)¶.  3.column = Caption¶.  4.column = Shortcut (Does not fire, use a hidden button to fake it)¶.  5.column = Checked (0/1)¶.  6.column = Enabled (0/1)¶.  7.column = Help context id (integer)¶.  8.column = Name of menuitem¶.  9.column = Visible (0/1)¶. 10.column = RadioItem (0/1)¶. 11.column = Groupindex (integer)¶. 12.column = TagInteger (integer - Tag is used to number the action-vars)¶. 13.column = Hint¶. 14.column = OnClickAction¶. Submenulines must follow its submenuitem¶. Shortcut are defined language specific Ctrl+N(Shift/Alt or Strg+N/Umschalt/Alt¶. Shortcuts currently do not work directly because keyboard get not through to the plugin¶. Use a - to get a divider (Set tag 0)¶¶0|0|Help item1|Ctrl+N|0|1|0|Item1|1|0|0|1|Hint Item1|Alertbox "Help" "Item1"¶0|-1|-||0|1|0|Sep1|1|0|0|0||.¶3|1|Help submenu1|||1|0|SubMenu1|1|0|0|2||Alertbox "Help" "SubMenu1"¶0|2|Help subitem1|Ctrl+O|0|1|0|SubItem1|1|0|0|3|Hint SubItem1|Alertbox "Help" "SubItem1"¶0|3|Help subitem2|Ctrl+P|0|1|0|SubItem2|1|0|0|4|Hint SubItem2|Alertbox "Help" "SubItem2"¶0|4|Help subitem3|Ctrl+Q|0|1|0|SubItem3|1|0|0|5|Hint SubItem3|Alertbox "Help" "SubItem3"¶0|-1|-||0|1|0|Sep2|1|0|0|0||.¶0|2|Help item2|Ctrl+R|0|1|0|Item2|1|0|0|6|Hint Item2|Alertbox "Help" "Item2"¶0|3|Help item3||0|1|0|Item3|1|0|0|7|Hint Item3|Alertbox "Help" "Item3"¶
VarName=[TextEntry88]
Align=1
EditMultiLine=Yes
WordWrap=No
EditLen=0
LineColor=0
LineWidth=1
LineStyle=0
FillColor=16777215
FillPattern=0
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=11
ObjectType=3
Name=PushButton28
X=6
Y=12
W=157
H=29
Anchor=0
Text=File
Align=2
ImageStyle=0
BevelWidth=0
DepressEffect=No
ObjAction=GoSub "FileMenu"
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=2
ObjectType=3
Name=PushButton27
X=175
Y=12
W=157
H=29
Anchor=0
Text=Edit
Align=2
ImageStyle=0
BevelWidth=0
DepressEffect=No
ObjAction=GoSub "EditMenu"
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=5
ObjectType=3
Name=PushButton29
X=346
Y=12
W=157
H=29
Anchor=0
Text=Help
Align=2
ImageStyle=0
BevelWidth=0
DepressEffect=No
ObjAction=GoSub "HelpMenu"
LineColor=0
LineWidth=0
LineStyle=0
FillColor=16777215
FillPattern=1
FillMode=Yes
Font=Arial
FontSize=8
FontStyle=0
FontCharset=1
TextColor=0
TabOrder=4



Download the hpw plugins here: http://www.hpwsoft.de/

:)
.

.
Last edited by fkapnist on Thu Sep 10, 2015 12:36 pm, edited 6 times in total.
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Re: Menu with sub-items (hpwImage)

Postby HPW » Thu Sep 10, 2015 7:29 am

Does the hpwMenu plug-in allow you to position a menu anywhere in a window? I could only get the general menu to appear at the top left position, but I would like it to be lower down... Also, what is the difference between Menu and SysMenu commands?


Since hpwMenu is a wrapper around the classic Windows Menu API there is no option to place the menu elsewhere.
It is there where the menu bar is placed by windows.

And Sys-Menus is the menu which appear when you click on the top left icon of the title bar.
That can be modified. And so are commands for normal menu and sys-menu.

Regards

Hans-Peter
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Menu with sub-items (hpwImage)

Postby fkapnist » Thu Sep 10, 2015 7:44 am

HPW wrote:
Does the hpwMenu plug-in allow you to position a menu anywhere in a window? I could only get the general menu to appear at the top left position, but I would like it to be lower down... Also, what is the difference between Menu and SysMenu commands?


Since hpwMenu is a wrapper around the classic Windows Menu API there is no option to place the menu elsewhere.
It is there where the menu bar is placed by windows.

And Sys-Menus is the menu which appear when you click on the top left icon of the title bar.
That can be modified. And so are commands for normal menu and sys-menu.

Regards

Hans-Peter


The classic Windows Menu API is being challenged by HTML5....
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Re: Menu with sub-items (hpwImage)

Postby HPW » Thu Sep 10, 2015 8:04 am

The classic Windows Menu API is being challenged by HTML5....


Eveything is changing all the time, and for upcoming HTML web app's we will get the new neosoft app-builder.

hpw-plugins targetting Windows Software like neobook itself. You can still build nice software with neobook. (Means software not bloatware)

time will tell if universal apps from MS will be sucessfull. Today you hear argument toward Multi-Plattform vs. web apps in developer-communitys.

Regards,
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Menu with sub-items (hpwImage)

Postby fkapnist » Mon Sep 14, 2015 12:35 pm

The two pop-up menu examples in the hpw freeware require a right mouse click on a rectangle to open. I looked at the code but still need to know what must be modified for a left click to open the popup. Can anyone help?

:?:

.
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Re: Menu with sub-items (hpwImage)

Postby HPW » Wed Sep 16, 2015 8:06 am

I looked at the code but still need to know what must be modified for a left click to open the popup.


In classic window apps a popup-menu (or context-menu) is mostly started with right-click.
I will have a look into the code if a left-click option is doable.

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Menu with sub-items (hpwImage)

Postby HPW » Wed Sep 16, 2015 12:45 pm

See the latest release:

viewtopic.php?f=3&t=9851&p=11218667#p11218667

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Menu with sub-items (hpwImage)

Postby fkapnist » Wed Sep 16, 2015 6:10 pm

HPW wrote:See the latest release:

http://www.neosoftware.com/community/vi ... #p11218667

Regards


Thank you. One last question..... how do I change the font of the pop-up?

:?:

..
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Next

Return to General NeoBook Discussions

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron