cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

How to send a message to the created palette

satoshi shimokura
Contributor

hello. I am developing using API Development Kit 25.3002 (Windows).

 

I would like to send a DG_MSG_CHANGE message to the radio buttons in the palette I created.

The DGSendMessage function was described in the manual, so I tried to use it I'm having trouble finding an implementation.

 

I found the DGSendUserMessage function instead, but I don't know how to give the third argument DG::EventArg& msgData.

 

Is it correct to use DGSendUserMessage to send a message to the palette in the first place?

In addition, I tried to get the window handle with ACAPI_GetMainWindow or DGGetDialogWindow and execute the WindowsAPI SendMessage function.

It was no good.

 

Is there a way to send a message to the created palette?

Thank you very much.

10 REPLIES 10
satoshi shimokura
Contributor
bschwb
LABPP

Thanks to you, we were able to implement the targeted function, and it is currently in operation.
Thank you very much for your kind guidance.

We will mark it as resolved.

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!