cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
ReignBough
Enthusiast

[SOLVED] DGSplitButtonGetSelectedItem?

I created a button of sub-type DG_BT_SPLIT and tried to get the selected item.

In dialog class, you can do this by creating a callback function for SplitButtonPopupChanged and get the selected item by calling SplitButton->GetSelectedItem().

But I am doing this using the Dialog Manager and I can't find the equivalent function of SplitButton->GetSelectedItem(). Since the message data is always zero, I presumed it was DGSplitButtonGetSelectedItem(), but I was wrong.
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
1 Reply 1
ReignBough
Enthusiast
Found it. One should use DGPopUpGetSelected() for this.
~ReignBough~
ARCHICAD 27 INT (since AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS

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!