cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
RobDev
Contributor

RollDown Palette

Hi all,

 

I'm looking to create a RollDown dialog similar to the BasicElementIconsRollDownDialog from DG_Test, but as a palette. I found this forum thread with pretty much the same question, but the accepted answer hasn't really helped me much. |'ve tried to implement a rolldown palette inheriting the correct base class using a similar method to how I'd implement a normal palette but haven't had any success. Would anyone be able to point me in the right direction as to how to create a functioning rolldown palette? An example would be very much appreciated.

 

Thanks,

Rob

2 Replies 2
NMK195
Participant

Hi!

It seems like the post above was something I asked about earlier. But sadly, after 4 years, I still haven’t been able to implement the roll-down palette. Now I’m trying to work on it again, hoping someone might be able to provide a concrete example.

Oleg
Expert

Can you to implement not roll-down palette ?

In my opinion, there are two tasks. How to create a palette and how to create a roll-down dialog (including a palette).
Implementing ang handling any palette is not so simple, roll-down or not. 

About a palette dialog see the DG_Test example, OwnerDrawnListBoxPalette class.
Pay attention to: ACAPI_RegisterModelessWindow in Initialize function, ACAPI_UnregisterModelessWindow in FreeData function, OwnerDrawnListBoxPalette::PaletteAPIControlCallBack, BeginEventProcessing() in constructor, the class implemented as a singleton, need to call Show method to make visible created palette.

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!