Thanks Chris that worked, but the bitmaps are not showing there full image, I have tried a single bitmap 48x48
created in VS with the same result ?
Create a toolbar and and attach to a shell window
Create a toolbar and and attach to a shell window
Neale,
The bitmaps in the ribbon are 24 bits.
Try this:
oTb:ButtonSize := Dimension{24,24}
oTb:Bitmap := ShellWindowRibbon{,,24,24}
oTB:AppendItem(2, IDM_ShellMenu_Help_About_ID, oTB:Bitmap ) // works, but no bitmap
oTB:AddTipText(IDT_HELP, IDM_ShellMenu_Help_About_ID, "Help About")
This shows the 2nd image in the bitmap
Robert
The bitmaps in the ribbon are 24 bits.
Try this:
oTb:ButtonSize := Dimension{24,24}
oTb:Bitmap := ShellWindowRibbon{,,24,24}
oTB:AppendItem(2, IDM_ShellMenu_Help_About_ID, oTB:Bitmap ) // works, but no bitmap
oTB:AddTipText(IDT_HELP, IDM_ShellMenu_Help_About_ID, "Help About")
This shows the 2nd image in the bitmap
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Create a toolbar and and attach to a shell window
HI Neale,
Yeah, I was seeing this as well, found what's the problem, the bitmap's height is 24 pixels, instead of the default 16. Add this and it works:
oTB:ButtonSize := Dimension{24,24}
Yeah, I was seeing this as well, found what's the problem, the bitmap's height is 24 pixels, instead of the default 16. Add this and it works:
oTB:ButtonSize := Dimension{24,24}
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Create a toolbar and and attach to a shell window
Oh well, I think we need to make an agreement with Robert, that from now on he only replies on even hours and I only reply on odd hours
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Create a toolbar and and attach to a shell window
Thank you, all good.
Create a toolbar and and attach to a shell window
Hello to all,
i sometimes heart about SEUIXP, but never used it till today. Can I get some screenshots or so to see the advantages of this tool? Or would it be better to look for similar functions in dotnet-framework? (and, if so, recommends are welcome). My intention is to improve the look and feel of the good old data window.
Alf
i sometimes heart about SEUIXP, but never used it till today. Can I get some screenshots or so to see the advantages of this tool? Or would it be better to look for similar functions in dotnet-framework? (and, if so, recommends are welcome). My intention is to improve the look and feel of the good old data window.
Alf
Create a toolbar and and attach to a shell window
Hello Alf,
Here's a screenshot. As you see you can add text elements (the left text says this is the main menu) and buttons with a sub-menu. In my program the user can select the old 'VO' menu (with much smaller buttons and the SEUIXPmenu. I think I've seen the old menu once or twice on a customer's Pc.
No doubt there are multiple .Net solution (I use the standard ribbon in one, see photorganize.eu for example) but this is quite easy to use from within VO.
Dick
Here's a screenshot. As you see you can add text elements (the left text says this is the main menu) and buttons with a sub-menu. In my program the user can select the old 'VO' menu (with much smaller buttons and the SEUIXPmenu. I think I've seen the old menu once or twice on a customer's Pc.
No doubt there are multiple .Net solution (I use the standard ribbon in one, see photorganize.eu for example) but this is quite easy to use from within VO.
Dick
- Attachments
-
- seuixpmenu.jpg (19.32 KiB) Viewed 501 times