Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

export/import Control ID of Forms

Status
Not open for further replies.

FanTasteYou

Programmer
Oct 26, 2000
3
DE
I want replace old Dialogs/Applications written in C to newer Delphi-Forms. All Dialogs are placed in a DLL. The normaly way to reference those Dialog Controls is to use API-Function GetDlgItem...but i need the Control-ID. Delphi-Forms work only with named Resources (like object Button1:TButton in *.DFM). I need a Tool/Answer, how i can generate a INC or PAS, that contains ALL Control-Identifier from ALL Forms of this DLL or Project. In the same way, Delphi should use this Definitionfile to use exactly the same Control-Identifier, when i rebuild the Project the next time.

Can someone help me ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top