Detecting tab key press

Question and Answer Database FAQ2060D.txt Detecting tab key press Category :VCL Platform :All Product :All 32 bit Question: Since the KeyPress and the KeyDown events do not get called for the tab key, how do I trap the tab key at the form level? Answer: At form level,...

Using WM_COPYDATA.

Question and Answer Database FAQ1525D.txt Using WM_COPYDATA. Category :Windows API Platform :All Product :All 32 bit Question: How can I use the WM_COPYDATA message to pass information between 16-bit and 32-bit applications? Answer: The following example shows how to...

Preventing multiple application instances

Question and Answer Database FAQ1355D.txt Preventing multiple application instances Category :Windows API Platform :All Product :All 32 bit Question: How can I guarantee that only one instance of my program executes? Is it possible to restore the previous instance and...

Changing the papersize of a print job.

Question and Answer Database FAQ603D.txt - Changing the papersize of a print job. Category :Printing Platform :All-32Bit Product : Question: How can I change the papersize of my print job? Answer: One way to change printer settings at the start of a print job is to...

Implementing TCollection

Technical Information Database TI1647D.txt - Implementing TCollection Category :ActiveX/OLE/COM/ActiveForm Platform :All-32Bit Product :All32Bit, Description: This document is intended for those needing to descend from a class that manages an array of lightweight...

Playing a WAV from a resource.

Question and Answer Database FAQ498C.txt Playing a WAV from a resource. Category :Windows API Platform :All Product :C++Builder 1.x Question: How do I play a sound from a resource? Answer: We haven't been able to get the SND_RESOURCE flag to work, however you...

Linking to Functions in Third-Party DLLs

Technical Information Database TI2407C.txt Linking to Functions in Third-Party DLLs Category :General Platform :All Product :Borland C++ All Description: Linking to Functions in Third-Party Dynamic Link Libraries ======= == ========= == =========== ======= ====...

Filtering Your DataSet in C++Builder

Technical Information Database TI2367C.txt Filtering Your DataSet in C++Builder Category :General Platform :All Product :C++Builder All Description: Filtering your DataSet In C++ Builder Filtering lets you specify criteria to temporarily restrict the data being...

C++Builder WinExec() and CreateProcess()

Question and Answer Database FAQ1378C.txt C++Builder WinExec() and CreateProcess() Category :Windows API Platform :All Product :C++Builder 1.x Question: I am updating my code for Win32 and changing my WinExec() calls to CreateProcess() and having trouble. There is so...

Converting an AnsiString to Char*

Question and Answer Database FAQ1360C.txt Converting an AnsiString to Char* Category :VCL Platform :All Product :C++Builder 1.x Question: I am trying to convert a String to char* but keep receiving the error: "Cannot cast from System::AnsiString to Char*"....

How do I make a ComboBox Read-Only?

Question and Answer Database FAQ971C.txt How do I make a ComboBox Read-Only? Category :VCL Platform :All Product :C++Builder 1.x Question: How do I make a ComboBox Read-Only? Answer: The same effect can be achieved by changing the style to csDropDownList. 7/2/98...