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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Title of ShowMessage in DLL 1

Status
Not open for further replies.

KempCGDR

Programmer
Jan 10, 2003
445
GB
Hi, in my application, I have a DLL which shows a message box (ShowMessage(String)), but the title is always the filename of the dpr from the program calling it rather than the title of the program (which it would be if it was called form the program). This looks terrible because it's not a relevant name and it's in the wrong case etc. Is there any way to change what it displays as the title?
 
That doesn't help in my DLL now that I've tried it, because I get Application as undefined, MB_OK as undefined and various other strange things.

If I try the stuff in the link I get the same errors, plus String and pANSIChar being incompatible when I import MessageBox from the Windows unit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top