Dear Gerald,

I was successful in implementing custom icons using the ActiveX Document DLL
type of VB project. How to include a resource bitmap into such a VB6 DLL,
you should consult the documentation, because I did this in VB5 and it was
quite a long time ago, so that I just do not remember it exactly when
writing these lines. I just want to point out that I was in the same
situation as you, no resource editor at hand, just VB5 Pro. So you can do it
with it, you do not have to buy any other product. Also the bitmaps should
have the specs, which MapInfo has given in the MapBasic manual.

However, if you want to do other stuff within that DLL (any function calls
or so)than binding bitmap resources to a DLL for custom icons you cannot use
VB. I tried to call a VB function in a DLL from MapBasic and was not
sucessful. I used both the ActiveX DLL and the Active X Document DLL
approach. Also, some people on this list confirmed that you cannot call
functions in VB DLLs from MapBasic in general. (If someone has found a way
to do it, please, post it to the list).

To sum: for custom icons only, VB is ok, for the rest to my knowledge not.



Thomas G�lden
Diplom-Geologe

Email (privat):      [EMAIL PROTECTED]
Email (dienstl.):   [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gerald Kornelson
Sent: Freitag, 12. M�rz 1999 17:47
To: [EMAIL PROTECTED]
Subject: MI MB creating custom buttons


In the MB manual, they refer to a program ("resource editor") called
AppStudio for creating custom icons.

I have not done anything like this before.  What is a resource editor, how
does it work, and what are some
editors that people use?  I have access to VB6 (I'm a VB newbie).

Is there another way to create custom buttons?  It always seems that the
300+ that come with MI are close,
but, not perfect.  For example, in my current project, I would like buttons
with two letters, like CC or BL.

Any ideas would be appreciated.

Gerald
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]



----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to