Re: update for SetLibEntryPoints
Jacek Szumigaj <[email protected]> Wed, 31 Aug 2005 22:20:23 +0200
| Newsgroups | gmane.mail.the-bat.plugins |
|---|---|
| Message-ID | <[email protected]> |
Hi Developers!
> hMainWindow:=FindWindow('TMailerForm',NIL);
> hMenu:=GetMenu(hMainWindow); //RETURNS 0 !
In TB version > 3.02.10 menu is placed on the toolbar. You need HWND
of this toolbar instead.
But (from help, about GetMenu):
> Return Values
>
> If the function succeeds, the return value is the handle of the
> menu. If the given window has no menu, the return value is NULL. If
> the window is a child window, the return value is undefined.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
Best regards, Jacek Szumigaj
http://szumi.one.pl
The Bat! 3.0.2.10/Windows XP 5.1