Using Delphi I would like to add another button to the border icon buttons; close, maximize, minimize. Any ideas on how to do this?
Add a border icon to the form
3.3k views Asked by Tim At
3
There are 3 answers
0
stukelly
On
Chris Rolliston wrote a detailed blog about creating a custom title bar on Vista and Windows 7.
He also wrote a follow up article and posted example code on CodeCentral.
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in DELPHI
- How can I read the header of request to webserver
- Receiving Notifications for Individual Task Completion OmniThreadLibrary Parallel.ForEach
- Delphi - How to get result of function from QuickReport without viewing a report?
- Out of memory while adding documents to a Firebird BLOB field with Delphi
- How to MakeScreenshot fullpage on Delphi
- How to program a COM object with an IEnumerator, IEnumerable interface inside
- How to Dynamically Add Controls to Delphi Form
- How to write a string in Stringrid with DelimitedText in FMX Delphi 11
- TGrid/TStringGrid multi cell selection / multi editing in delphi firemonkey (12)
- How to localize "Today" in the Delphi TMonthCalendar?
- How can I call a SOAP webserver method in Vue.js?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- Save Form Properties in File and then restore those Properties after reopening
- Is it possible to open a blob without saving it to file
Related Questions in DELPHI-2007
- How to localize "Today" in the Delphi TMonthCalendar?
- "The procedure entry point XXXX could not be located in the dynamic link library YYYY" after migrating application from BDS 2006 to Delphi 2007
- Delphi 2007 IntraWeb times out in production but works as expected on the local development machine
- How to move the cursor to the beginning of the next line on a .txt file?
- How to write more than once in an XML document
- How to get combobox and radio button ''out of focus''?
- Automating a Delphi 2007 application with a Python script - how do I unambiguously reference controls?
- Delphi Porting -> D6 to D2007 - DevExpress - TdxDBGridLayoutList
- How to debug Windows dll from Delphi
- Delphi 2007 Updating a console application from a datamodule using TIdHTTPServer within httpServerCommandGet
- Delphi 2007 JSON array of string to TStringList
- Delphi 2007 - Compile errors on updating Indy from 10.5.1.1 to 10.6.2.0
- StgOpenStorageEx only reads .doc files. Delphi 2007
- Delphi 2007 helper class can't access private method
- Can't detect network drive under Debugger with Delphi 2007 on Windows 10
Related Questions in TITLEBAR
- Is sending the message WM_GETTITLEBARINFOEX to get the caption bar RECT stable? or it has a regression?
- Customize the background color and text color of a customTkinter window title bar
- Why doesn't this c# function properly hide the titlebar?
- Electron titlebar interferes with mouse events
- Remove titlebar without using overrideredirect() using Tkinter on Windows
- How can I change the background color of the title bar in an android emulator in VS 2022
- WinForm MdiControl Child Titlebar Styling
- How can we change page title after we get the data from server and want to load in client side or server side component?
- Flutter window, multi window and remove title bar
- How to change Titlebar visibility on tkinter?
- How to know if the mouse clicked once on a window's title bar?
- Windows titlebar icon only shows top half of icon
- watchOS 10 Beta - WKInterfaceController title alignment
- In Electron, how to preserve the original traffic light buttons?
- How to determine whether a window has an embedded title bar?
Related Questions in CUSTOM-TITLEBAR
- How to change window Title bar Color in WinUI 3
- How to change/Remove Window Title bar icon in WinUI 3
- Change title of another window through PowerShell
- Customizing titlebar on Windows in Qt 6
- CDialogEx:: OnNCPaint() increases the size of dialog window
- vb.net ditect title bar color in windows10
- Android: Cannot use AppCompat theme with custom window title
- custom-electron-titlebar issue when nodeIntegration:false
- Tkinter Adding Images to a Button on a Title Bar
- Is it possible to have one file that controls the look and feel of my custom title bar that I can access from any form?
- How to disable the title bar in tkinter on a mac?
- ElectronJS ReferenceError: navigator is not defined
- How to get rid of titlebar without removing icon in taskbar with Tkinter?
- How to change font size in the title bar of a JDialog
- How to show a notification button in title bar (or a general button if not possible)?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This was easy to do prior to Windows Aero. You simply had to listen to the
WM_NCPAINTandWM_NCACTIVATEmessages to draw on top of the caption bar, and similarly you could use the otherWM_NC*messages to respond to mouse clicks etc, in particularWM_NCHITTEST,WM_NCLBUTTONDOWN, andWM_NCLBUTTONUP.For instance, to draw a string on the title bar, you only had to do
Now, this doesn't work with Aero enabled. Still, there is a way to draw on the caption bar; I have done that, but it is far more complicated. See this article for a working example.