Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   C# GetMenu bei MenuStrip? (https://www.delphipraxis.net/82877-getmenu-bei-menustrip.html)

mmakunga 21. Dez 2006 08:31


GetMenu bei MenuStrip?
 
Moin,

mit
Code:
HMENU GetMenu(HWND hWnd)
aus der user32.dll bekomme ich das Menü-Handle von hWnd. Klappt auch wunderbar, wenn das Menü von hWnd ein MainMenu ist. Nur: wie komme ich an das Menü-Handle von hWnd, wenn das Menü ein MenuStrip ist?

Schöne Grüße,
mm


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:39 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz