MUI

NListtree color entry

I'd like to know how to set a given color (selected using a PoppenObject)
in a NListtree list for some entries.
I'm using a header for the text entries like "\033P[-1]" but I can't
select a given color using this method, only colors defined by the
system. My idea is to choose the colors for the pen and the background
for some entries, if possible... I have not found any example for doing
this. Any idea ?

Forums: 

String object

I'd like to know if it's possible to change the color of the pen
in a string object (StringObject in MUI). I should like to write the string
either in red or blue color (for example), changing the color when needed.

Any idea ?

Thanks in advance...

Forums: 

MUI: How to change Bitmap in MUI Bitmap?

Hi everybody,

I have a large number of bitmaps (all the same bitmap data) which I want to change the source bitmap of on the fly.
When I change the MUIA_Bitmap_Bitmap at the moment, nothing happens until I iconify and bring back the window - at which point it all looks correct.

How can I force MUI to change the bitmap source data safely and cleanly?

I think I may need to make a subclass but I'm not sure how to do this with a Bitmap class and make it able to use the standard MUI bitmap class but redraw it on demand.

Can anyone help?

Thanks!

Forums: 

Any way to make MUI button react to Enter key?

In MUI is there any simple way I can make an "OK" button react to the Enter key, while still having Enter work with a string gadget as expected? For example, so I can make a MUI equivalent for C:RequestString.

I see that MUIA_Window_InputEvent allows reacting to IDCMP_RAWKEY, but (a) I imagine that Enter will still generate a RawKey event when the string gadget is active, and (b) I have no idea what a "standard commodities.library input description string" is (the unhelpful example is "-repeat f1").

Forums: 

MUIM_List_Insert: Should I see individual entries being added for a single large insert?

I was rather surprised to find that when doing a single MUIM_List_Insert call (with pos = MUIV_List_Insert_Sorted) to insert a large number of entries, I was able to see individual entries appearing in the list. I was expecting it to just suddenly appear with all the entries added. Is this what is supposed to happen?

I tried setting MUIA_List_Quiet to true, but that didn't help :-( . Any suggestions?

Forums: 

Pages

Subscribe to RSS - MUI