Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

DGSplitButtonGetSelectedItem?

$
0
0
Author:ReignBough
Posted: Tue Apr 19, 2016 6:55 am (GMT+1)


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 19 INT 4013 FULL]
[Windows 7 Pro Intel Core i5 CPU 750 @ 2.67 GHz 8.00 GB 64-bit OS]


Viewing all articles
Browse latest Browse all 564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>