PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Christian Weilguny on June 27, 2010, 07:51:44 PM

Title: next prob: Toolbar-Handle
Post by: Christian Weilguny on June 27, 2010, 07:51:44 PM
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
Title: Re: next prob: Toolbar-Handle
Post by: Paul Squires on June 27, 2010, 08:33:16 PM
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 )