comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » color bitmap button labels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
color bitmap button labels [message #26387] Sun, 02 September 2001 20:22 Go to next message
graves is currently offline  graves
Messages: 7
Registered: September 2001
Junior Member
Hi all,

Does anyone know how to explicitly specify an array to be used as a
color bitmap button label? I know how to use CVTTOBM to convert a
byte array into a monochrome "bitmap byte array" (as RSI calls it)
that passed to WIDGET_BUTTON via the VALUE keyword. However, i can't
seem to find a way to extend this to a color bitmap without specifying
a filename in the VALUE keyword to WIDGET_BUTTON.

The reason i ask is because i would like my code to be completely
self-sufficient, so that i do not have to worry about copying any
bitmap files when moving the code to a new platform. I've searched
the newsgroup and the web for an answer to this but have had no luck,
so i throw myself on your collective wisdom. Thanks in advance!




Ted Graves
Re: color bitmap button labels [message #26487 is a reply to message #26387] Thu, 06 September 2001 05:41 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Kristine Hensel wrote:
>
> David Fanning wrote:
>> Yeah, I have lots of good ideas, but not one of
>> them has ever made me rich. Have you listened to the
>> lyrics of some of these songs that are making
>> these "musicians" millions!? "Blah, blah, da blah."
>>
>> How come I never come up with an idea like that? :-(
>
> Perhaps you need to compose a song about histograms.

and pie charts .


hi hi

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: color bitmap button labels [message #26491 is a reply to message #26387] Wed, 05 September 2001 22:25 Go to previous message
Kristine Hensel is currently offline  Kristine Hensel
Messages: 26
Registered: June 1999
Junior Member
David Fanning wrote:
> Yeah, I have lots of good ideas, but not one of
> them has ever made me rich. Have you listened to the
> lyrics of some of these songs that are making
> these "musicians" millions!? "Blah, blah, da blah."
>
> How come I never come up with an idea like that? :-(

Perhaps you need to compose a song about histograms.

Kristine

--
Kristine Hensel
Environmental Systems & Services Phone: +61-3-9835-7901
20 Council St.
Hawthorn East, VIC 3123 Australia e-mail: kristine@esands.com
Re: color bitmap button labels [message #26492 is a reply to message #26387] Wed, 05 September 2001 20:18 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ted Graves (egraves@socrates.Berkeley.EDU) writes:

> Thanks for the heads up ... i decided to get around it by creating a
> compound widget, involving a draw widget, that returns events as if it
> were a button widget. I believe i read somewhere on David's site that he
> had written a routine like this in the past ... good idea David!

Yeah, I have lots of good ideas, but not one of
them has ever made me rich. Have you listened to the
lyrics of some of these songs that are making
these "musicians" millions!? "Blah, blah, da blah."

How come I never come up with an idea like that? :-(

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: new line problems
Next Topic: structure information

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:38:48 PDT 2025

Total time taken to generate the page: 0.00495 seconds