Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - How to lookup internal link using instance name at runtime?: (1 Item)
   
How to lookup internal link using instance name at runtime?  
I have an application that has multiple windows that are available for display.  I would like for the user to be able to
 select which window is opened from a list of available windows.  My plan was to populate the list with the instance 
name of each window.  However, I could not find a function that would allow me to lookup an internal link using the 
instance name string.  Therefore, I could not map the user's selection to parameters needed by ApCreateModule().

I similar problem was solved by repeated calls to PtWidgetFamily(), getting the ApInstanceName() for each widget and 
comparing that to the selection string.  However, I do not know of a hierarchy I can traverse for widgets/modules that 
have not been created.  If there is one let me know, I am currently thinking of searching through the AbWidgets[] array.