next prob: Toolbar-Handle

Started by Christian Weilguny, June 27, 2010, 07:51:44 PM

Previous topic - Next topic

Christian Weilguny

Hi,

I know, this time I'm a nerving guy :-[.

Is there a way to get the handle of a toolbar?
It isn't generated automatically like mainmenu- or statusbar-handle.
But I need to know, how high it is for positioning childwindows correctly.

Christian

Paul Squires

FF3 does not generate a handle for the toolbars. You use GetDlgItem to retrieve it based on the toolbar's control id.


hToolbar = GetDlgItem( hWndForm, IDC_FORM1_TOOLBAR1 )


Paul Squires
PlanetSquires Software