Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How To Get Control Address By Modless Dialog

Kouichi
Participant

I make Modeless Dialog By DGModelessInit() Function.

I use UserControl (257 0x0005 == TextPopup Control).

Sample Source 
  Modeless Class definistion

    #define popupid 5

     UC::TextPopup* popup;

  Modeless Class in constructor 

    popup (GetReference (), popupId),

 

But 

DGModelessInit() no have Modeless Class definistion & constructor

 

Please Teach me TextPopup Control address by dialogID and controlID(poupid)

 

1)  UC::TextPopup* pop = UC::TextPopup(???, popupid)

      --> ??? = dialog GetReference ()

  or

  

2) UC::TextPopup* pop = (UC::TextPopup *)DGUserGetControl(dialogID, popupid);

   --> pop == nullptr return

  

 

 

0 REPLIES 0

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!