20.09.2025, 10:18 PM
(This post was last modified: 20.09.2025, 10:27 PM by Jules Marchildon.)
Hey! Hey!
It's the 2-pixel divider part of the toolbar's rendering but you didn't fill it using your custom draw handler it only painted the provided rect leaving it's background color white and becomes transparent. Just remove it.
It's the 2-pixel divider part of the toolbar's rendering but you didn't fill it using your custom draw handler it only painted the provided rect leaving it's background color white and becomes transparent. Just remove it.
Code:
'-add styles to remove the 3D borders and the 2-pixel top highlight/divider.
CONTROL ADD TOOLBAR, hDlg, %IDC_Toolbar, "", 0,0,0,0, %TBSTYLE_FLAT OR %CCS_NODIVIDER