Martijn Laan
|
179c223b2c
Improve HandleNeeded code once more.
|
il y a 3 mois |
Martijn Laan
|
1285016524
Fix issue with AdjustHeight not working due to receiving wrong .Width and .Right in CalcBounds:
|
il y a 3 mois |
Martijn Laan
|
461fa8e10c
Fix: native task dialogs and message boxes center on the screen and not on their parent. So do this for our custom form also.
|
il y a 3 mois |
Martijn Laan
|
09ccdfd017
Fix icon height check.
|
il y a 3 mois |
Martijn Laan
|
37b18def33
Move the 'HandleNeeded for Anchors' code to TSetupForm to fix it 'everywhere'.
|
il y a 3 mois |
Martijn Laan
|
911edd7e89
Resize before page initialization.
|
il y a 3 mois |
Martijn Laan
|
355d49aad1
Merge branch 'main' into segoe
|
il y a 3 mois |
Martijn Laan
|
274650d32b
Use stock icons for NewDiskForm + WizardForm's SelectDirBitmapImage and PreparingErrorBitmapImage.
|
il y a 3 mois |
Martijn Laan
|
c496fa00ac
Use stock icons for styled message boxes and task dialogs.
|
il y a 3 mois |
Martijn Laan
|
4206ad2621
Update for change.
|
il y a 4 mois |
Martijn Laan
|
52f5305d9f
Do not override LangOptions.DialogFontSize if LangOptions.DialogFontName already equals Segoe UI.
|
il y a 4 mois |
Martijn Laan
|
a70fbb0a6b
Use Segoe UI 8 pt for the custom task dialog and messagebox implementation, if Segoe UI is available.
|
il y a 4 mois |
Martijn Laan
|
ff7807b7c2
Make TNewButtonStyleHook.DrawButton respect the font of the control. This is unlike native command links but still better for us.
|
il y a 4 mois |
Martijn Laan
|
ec1cc841f7
Fix color inconsistency. Shows up for Zircon because its scWindow color is slightly different from its scPanel color (#ffffff vs #fafafa).
|
il y a 4 mois |
Martijn Laan
|
f14768289c
Add MB_SETFOREGROUND support.
|
il y a 4 mois |
Martijn Laan
|
12a3212848
Merge branch 'main' into custommsgbox
|
il y a 4 mois |
Martijn Laan
|
ab4ebbf28d
TaskDialogForm: disable close button when needed instead of hiding. Is like native task dialog (and messagebox) + VCL Styles doesn't like having no icons in a styled title bar: looks bad if RTL is active due to missing padding between caption and window border.
|
il y a 4 mois |
Martijn Laan
|
371fe7dcf7
SetupCustomStyle: Use TaskDialogForm to implement MsgBox.
|
il y a 4 mois |
Martijn Laan
|
2822b5106c
Clarify/cleanup.
|
il y a 4 mois |
Martijn Laan
|
d8d9b94ac7
Add support for empty instruction and empty text, just like native task dialogs do.
|
il y a 4 mois |
Martijn Laan
|
12f15a47ba
Add Ctrl+C support. Output is same as native task dialog. It also is not localized and does not display command link notes (aka CommandLinkHint).
|
il y a 4 mois |
Martijn Laan
|
e817b9836a
Delphi 10 compatibility.
|
il y a 4 mois |
Martijn Laan
|
e727b287ba
Make command links work with RTL when not styled. Making it fully work when styled is todo.
|
il y a 5 mois |
Martijn Laan
|
3cf28f4884
Add missing header.
|
il y a 5 mois |
Martijn Laan
|
89e9c0881e
Add VerificationText support. Does not support having it on the same row as common buttons but we don't need that. Only AskOverwrite uses verification text and it has no common buttons.
|
il y a 5 mois |
Martijn Laan
|
5e951389ad
Fix: TDCBF_CANCEL_BUTTON also counts as having a cancel.
|
il y a 5 mois |
Martijn Laan
|
2adf9e4cf1
UpdateHeight should come after the AdjustHeight's of course. Also adjust MainButton heights and make sure there's no close button in the title bar when there's no IDCANCEL, just like in the native version.
|
il y a 5 mois |
Martijn Laan
|
763012f86c
Fix issue with text heights when the form widens itself to display paths.
|
il y a 5 mois |
Martijn Laan
|
c4bdc02edc
Add icon support (resources not there yet) + other bits.
|
il y a 5 mois |
Martijn Laan
|
c2ce25b161
Improve RTL support.
|
il y a 5 mois |