Delphi

Playing WAV and MIDI files Using DirectX Audio with Delphi

Author: Embarcadero USA DirectX Overview Conducting a survey about what game programming API used by most of game softwares running on PC, I am sure that, DirectX will be on top list. Nowdays, DirectX had become a mature API for game programming on Windows platform. It makes game developer’s life easier. In old days of game programming history, game…
Read more
Delphi

Working with cookies

Author: Embarcadero USA Technical Information Database TI4523D.txt - Working with cookies Category :Internet/WEB Platform :All-32Bit Product :All32Bit, Description: The purpose of this document is not to explain what a cookie is or what it is used for. Instead…
Delphi

Custom InPlace Editor in StringGrid

Author: Embarcadero USA Question and Answer Database FAQ2434D.txt Custom InPlace Editor in StringGrid Category :VCL Platform :All Product :Delphi 3.x Question: How can I popup my own inplace editor (such as a combobox) in a string grid cell? Answer: The following example demonstrates popping up a Combobox as an inplace editor to a Stringrid component. Example: procedure…
Read more
Delphi

Detecting tab key press

Author: Embarcadero USA 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…
Delphi

Extracting Icons

Author: Embarcadero USA Question and Answer Database FAQ1778D.txt Extracting Icons Category :Windows API Platform :All Product :All 32 bit Question: How can I use the undocumented ShellAPI function ExtractIconEx() to extract the small and large icons from a given file? Answer: You can use the undocumented ShellAPI function ExtractIconEx() to extract both large and small icons…
Read more
Delphi

Using WM_COPYDATA.

Author: Embarcadero USA 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…
Delphi

Preventing multiple application instances

Author: Embarcadero USA 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 shut down if I start more than one instance? Answer: Under Win16, you can check the value…
Read more