Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 09 JUL 2003 06:07:55AM Tim Marler wrote:

Daft question time…

Can I add an icon to a menu option? I can't seem to do it but maybe I can't see the wood for the trees.

TIA

Tim


At 09 JUL 2003 07:05AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Hi Tim,

You can't do this easily in OI. You *could* do it via subclassing I guess and maybe even with an OCX ( try here for a start), but it's not something I've looked at myself.

The Sprezzatura Group

World leaders in all things RevSoft


At 14 JUL 2003 01:16AM Steve Smith wrote:

Tim, it involves the GDI32.DLL graphics display routines and resizing and imbedding the bitmaps dynamically - basically replacing most of the native menus with your own handler to insert the icons and relocate the text / menus.

You can see the code required to do this (in VB) at

http://www.elitevb.com/content/01,0009,01/04.aspx

Not for the feint-of-heart!

Steve


At 14 JUL 2003 04:38AM Tim Marler wrote:

So what happens next, S/MenuIcons???


At 14 JUL 2003 06:15AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Untold riches will soon be ours!

The Sprezzatura Group

World Leaders in all things RevSoft


At 16 JUL 2003 03:48AM Tim Marler wrote:

lol…

but shouldn't it be


At 16 JUL 2003 07:24AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Errmmm

shouldn't the CDATA wrap the tags not vice versa?

The Sprezzatura Group

World Leaders in all things RevSoft


At 16 JUL 2003 09:21AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Hmmm of course it depends what you're trying to achieve AND depends on how it is being rendered… oh well…

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/b14cc753e343e0ad85256d5e0037a857.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1