2024-10-03 11:31 AM
Hi, how can I remove the close button(x) for add-on? Got a problem when clicking it and I was thinking to remove it.
Thanks
Solved! Go to Solution.
2024-10-04 03:05 PM
According to the Dialog documentation (can't find it for the online help, but it's available in e.g. the help coming with the AC26 dev kit) you have the following options:
Both options are specified in the resource definition of the dialog/palette. Like the frame and grow flags. Definition from docs:
'GDLG' resID Palette [| frameFlag | growFlag | captionFlag | closeFlag] x y dx dy "dlgTitle" {
2024-10-04 03:05 PM
According to the Dialog documentation (can't find it for the online help, but it's available in e.g. the help coming with the AC26 dev kit) you have the following options:
Both options are specified in the resource definition of the dialog/palette. Like the frame and grow flags. Definition from docs:
'GDLG' resID Palette [| frameFlag | growFlag | captionFlag | closeFlag] x y dx dy "dlgTitle" {
2024-10-07 03:43 AM
Hi @BerndSchwarzenbacher thanks for the help. Very appreciated!
2024-10-07 04:39 AM
2024-10-07 01:34 PM
It's a bit of work to get it right.
You need to adapt the resource file and specify a palette there and also change the code accordingly.
I think it's best to check out the DG_Test/OwnerDrawnListBoxPalette Example.