Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29064 Discussions

Retrieve dialog structure from its ID?

alb_f
Novice
642 Views

In my code I need to obtain the DIALOG structure from its ID. I can find how to obtain the ID of a dialog but not how to do this opposite. Is there a way to do this?

The code intercepts a key press (PgUp/PgDn) and then determines from the current active dialog ID which follow-up dialog should be started. To start the next dialog I need the full dialog structure since it is passed as a parameter to the routine.

0 Kudos
2 Replies
andrew_4619
Honored Contributor III
580 Views

The question lacks quite a few details, is this a quickwin dialog using module iflogm? or is it an sdk dialog? in either case the callback parameters have all the data that is needed to process the callback. 

0 Kudos
Steve_Lionel
Honored Contributor III
571 Views

I assume that @alb_f is referring to the DFLOGM DIALOG structure, which can be used in any project type. I admit to being confused by the request, since as @andrew_4619 says, the DIALOG structure is passed to the callback routine. Perhaps more detail would help.

0 Kudos
Reply