I would like to change the style of the Common Control Toolbar to support the new Flatbar style... I have implemented the following code in the Form Activate event but it does not appear to work...
Dim lStyle As Long
Const TBSTYLE_FLAT = &H800
lStyle = GetWindowLong(tbrStandard.hWnd, 0)
lStyle = lStyle Or TBSTYLE_FLAT
SetWindowLong tbrStandard.hWnd, 0, lStyle
This code was taken from the CWnd::ModifyStyle code in the MFC class libraries...
1) Does the Common Control Support this style
2) Is this code valid or do I need to do something else