Martijn Laan
|
179c223b2c
Improve HandleNeeded code once more.
|
3 месяцев назад |
Martijn Laan
|
1285016524
Fix issue with AdjustHeight not working due to receiving wrong .Width and .Right in CalcBounds:
|
3 месяцев назад |
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.
|
3 месяцев назад |
Martijn Laan
|
09ccdfd017
Fix icon height check.
|
3 месяцев назад |
Martijn Laan
|
37b18def33
Move the 'HandleNeeded for Anchors' code to TSetupForm to fix it 'everywhere'.
|
3 месяцев назад |
Martijn Laan
|
911edd7e89
Resize before page initialization.
|
3 месяцев назад |
Martijn Laan
|
355d49aad1
Merge branch 'main' into segoe
|
3 месяцев назад |
Martijn Laan
|
274650d32b
Use stock icons for NewDiskForm + WizardForm's SelectDirBitmapImage and PreparingErrorBitmapImage.
|
3 месяцев назад |
Martijn Laan
|
c496fa00ac
Use stock icons for styled message boxes and task dialogs.
|
3 месяцев назад |
Martijn Laan
|
4206ad2621
Update for change.
|
4 месяцев назад |
Martijn Laan
|
52f5305d9f
Do not override LangOptions.DialogFontSize if LangOptions.DialogFontName already equals Segoe UI.
|
4 месяцев назад |
Martijn Laan
|
a70fbb0a6b
Use Segoe UI 8 pt for the custom task dialog and messagebox implementation, if Segoe UI is available.
|
4 месяцев назад |
Martijn Laan
|
ff7807b7c2
Make TNewButtonStyleHook.DrawButton respect the font of the control. This is unlike native command links but still better for us.
|
4 месяцев назад |
Martijn Laan
|
ec1cc841f7
Fix color inconsistency. Shows up for Zircon because its scWindow color is slightly different from its scPanel color (#ffffff vs #fafafa).
|
4 месяцев назад |
Martijn Laan
|
f14768289c
Add MB_SETFOREGROUND support.
|
4 месяцев назад |
Martijn Laan
|
12a3212848
Merge branch 'main' into custommsgbox
|
4 месяцев назад |
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.
|
4 месяцев назад |
Martijn Laan
|
371fe7dcf7
SetupCustomStyle: Use TaskDialogForm to implement MsgBox.
|
4 месяцев назад |
Martijn Laan
|
2822b5106c
Clarify/cleanup.
|
4 месяцев назад |
Martijn Laan
|
d8d9b94ac7
Add support for empty instruction and empty text, just like native task dialogs do.
|
4 месяцев назад |
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).
|
4 месяцев назад |
Martijn Laan
|
e817b9836a
Delphi 10 compatibility.
|
4 месяцев назад |
Martijn Laan
|
e727b287ba
Make command links work with RTL when not styled. Making it fully work when styled is todo.
|
5 месяцев назад |
Martijn Laan
|
3cf28f4884
Add missing header.
|
5 месяцев назад |
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.
|
5 месяцев назад |
Martijn Laan
|
5e951389ad
Fix: TDCBF_CANCEL_BUTTON also counts as having a cancel.
|
5 месяцев назад |
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.
|
5 месяцев назад |
Martijn Laan
|
763012f86c
Fix issue with text heights when the form widens itself to display paths.
|
5 месяцев назад |
Martijn Laan
|
c4bdc02edc
Add icon support (resources not there yet) + other bits.
|
5 месяцев назад |
Martijn Laan
|
c2ce25b161
Improve RTL support.
|
5 месяцев назад |