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

Custome value User control

$
0
0
Author:Rinovo
Posted: Fri Sep 04, 2015 9:22 am (GMT+1)


Now i have different problem.

IconPushRadio Buttons haven't got icon. I changed my modal dialog from DGLCALLBACK structure to observer structure. And now i don't have Icon for radio Buttons.
GRC:
Code:
 IconPushRadio        8   22   52   52  1    32107

.hpp
Code:
RadioOneID = 4,
/...
DG::IconPushRadio                 RadioOne;

.cpp
Code:
RadioOne       (GetReference (),RadioOneID)


As i was writing this found a way to initialize icon with
Code:
RadioOne.SetIcon(DG::Icon(ACAPI_GetOwnResModule (),32106 ));


Previously SetIcon had errors using with pointers and DG::Icon class, solved them just now.

This is only way to get Icons, or is it a bug ? Or i might have other errors ?


Viewing all articles
Browse latest Browse all 564

Trending Articles



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