It's much simpler to create a resource file that is identified by an ordinal (e.g.200) than it is to create one identified by a string (e.g.'MY_RESOURCE'), since the resource header records are a fixed size in the first case and are variable in the second case. We will only co...
A possible fix is to put each browser control in a separateTPaneland then find the required windows by using the appropriate panel's window handle in theFindWindowExcall that searches for the "Shell Embedding" window class (seelisting 6). Of course, you'll need to track which window relates...
Professional applications have greatIconsandSplash Screens. They catch the user’s eye and help add to an overall impression of quality and attention to detail. Today we link to a couple of really great articles on how to create and add icons and splash screens to give that extra polish to ...
Tags:DelphiTwebbrowser SinceTWebBrowseris inherited methods from TControl, you may think immediately to use the method 'SetFocus' to make it get the focus. Unfortunately, it does not work. So we have to find out some way else to accomplish this task. I have found three ways to make it...
In order to receive such objects we have to make our application into a "drop target" that is recognised by Windows. We do this using COM (or OLE) drag and drop. As is usual with COM, we have to create an object that implements an interface – IDropTarget in this case – and then...
Is there a Telegram messenger component for use in Delphi? The first step will be to download theWebsocketscomponents suite ofESEGECEherein order to use theirTsgcTDLib_Telegramcomponent. Declare a new Telegram application To be allowed to connect to theTelegram Messengercloud, you will need an AP...
Hello. I'm using KOL - Key Objects Library. How to implement in the program, there is a Toolbar with buttons and a form with a paintbox. Is it possible to do the following when pressing the button on the icon appeared the cursor as in DragAndDrop and aft
information binary it is (believe me, I'vedone it!). However the Windows API provides three functions that assist in extracting the code. In the next section we'll review the API calls and write some Delphi wrappers to make them easier to use before finally developing our version ...
Delphi 10.3 Rio FireMonkey apps are cross platform with a single codebase and single UI that target the Android, IOS, Macos, Windows, and Linux platforms (FMXLinux was recently added to Delphi 10.3 Rio Enterprise and Architect). You can also deploy Delphi FireMonkey apps to the web using we...
32 bit app - how to get 'C:\program files" directory using "Environment.GetFolderPath" 32 bit Application calling 32 bit DLL "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)" 4 digit precision- String format 405 method not allowed(post...