| View previous topic :: View next topic |
| Author |
Message |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Wed Feb 06, 2008 7:06 am Post subject: Menu with mini icons |
|
|
Some time back there was a dll for this function...
What about now where we at...putting mini ico in menu  |
|
| Back to top |
|
 |
WidgetCoder Contributor


Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Wed Feb 06, 2008 10:56 pm Post subject: |
|
|
| I believe you are referring to PGWARE'S "vdspopup.dll" however the ability to add bitmaps is now native for both the menu and popup menus in VDS v6. |
|
| Back to top |
|
 |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Thu Feb 07, 2008 5:53 am Post subject: |
|
|
Menu are sticky when used i tryed example 3, 4
Mouse must slide in menu section selection...  |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Thu Feb 07, 2008 6:49 am Post subject: |
|
|
| It was an example of a way to use the popup menu as a main menu. It doesn't work right because it's not a real menu. There is no workaround. To get glyphs in menu items you'll need to use vds 6. |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Thu Feb 07, 2008 10:56 pm Post subject: |
|
|
| I think what you are looking for is CodeScripts "Enhanced Menu" DSU |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Fri Feb 08, 2008 10:39 am Post subject: |
|
|
Hi Filip,
SSMenu.dll does what you're looking for also. I don't know if it works with
VDS 6 although it should, I think  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Fri Feb 08, 2008 2:35 pm Post subject: |
|
|
My script is not compatible with ssmenu.dll if i use savepos...bitmaps are not there
ssmenu.dll don't work with #Resource...  |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Feb 09, 2008 6:40 pm Post subject: |
|
|
I believe SSMenu will work with resourced bitmaps since it uses his Imagelist component.
Last edited by Aslan on Sat Feb 09, 2008 7:01 pm; edited 1 time in total |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sat Feb 09, 2008 10:41 pm Post subject: |
|
|
| Aslan wrote: | | I believe SSMenu will work with resourced bitmaps since it uses his Imagelist component. |
You are correct Aslan, SSMenu.Dll does support #Resource included in
the executable. SSMenu.Dll is also supposed to be able to detect if the
script is running from the IDE or as a standalone application. If the script
is running in the IDE, the resources are loaded from the disk, otherwise
they are loaded from the compiled executable.
However, the menu bitmaps are not custom drawn on the menu like
PGWare' VdsPopup.Dll does, SSMenu.Dll simply calls the
SetMenuItemBitmaps() API.
BYW, CodeScripts EnhancedMenu DSU, basically does the same thing
that SSMenu.Dll does. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Sun Feb 10, 2008 3:12 am Post subject: |
|
|
Im not geeting icon with...
#Resource ADD,BITMAP,Bitmap.bmp
menu setBitmaps,%%WebSearch,0,#Bitmap.bmp
The direct code is OK but if i use with #Resource it's not there...
Or how can i create DSR file... |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Sun Feb 10, 2008 3:07 pm Post subject: |
|
|
Try the following instead::
MENU SETBITMAPS,%%menuHandle,0,#Bitmap.bmp,#Bitmap.bmp
Going off the top of my head here, don't have the help file for SSMenu
handy, the first #Bitmap.bmp is for the checked image and the second
#Bitmap.bmp is for the unchecked image. If you won't actually be setting
the checked attribute for a menuitem you specify bitmaps for, you can
leave the first #Bitmap.bmp empty. Or vise versa if you want to specify
your own check bitmap for the then leave the second #Bitmap.bmp
blank. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
filip Valued Contributor


Joined: 07 Aug 2004 Posts: 340
|
Posted: Sun Feb 10, 2008 4:01 pm Post subject: |
|
|
This is from ssmenu hlp
MENU setBitmaps, menu, pos#, x:\unchecked.bmp, x:\checked.bmp{, 1}
Im still not getting bitmaps...with double call  |
|
| Back to top |
|
 |
|