With a simple DDT program (address.bas will do) when I try to add the following:
Control Add "msctls_statusbar32",hDlg&,%SBar,0,0,0,0,%Ws_Child Or %Ws_Visible
When I insert the 'Control Add' after a 'Menu Attach ....', everything goes fine ( a statusbar is drawn ). If I insert the line before 'Menu Attach ....', the statusbar isn't drawn.... I know the menu attach does a screen redraw, but why does it remove the statusbar?
(I do InitCommonControls / InitCommonControlsEx)
Peter.
Control Add "msctls_statusbar32",hDlg&,%SBar,0,0,0,0,%Ws_Child Or %Ws_Visible
When I insert the 'Control Add' after a 'Menu Attach ....', everything goes fine ( a statusbar is drawn ). If I insert the line before 'Menu Attach ....', the statusbar isn't drawn.... I know the menu attach does a screen redraw, but why does it remove the statusbar?
(I do InitCommonControls / InitCommonControlsEx)
Peter.
Comment