I will make screenshot of Menu. For example, I pick on "File" menu and then popup menu with menuitem "New", "Save", "Save as". I must capture no all window, but only menu rectangle.
I tried to call the GetMenuItemRect() function from user32.dll, but the compiler gives an error: RECT may not be use in DLL function.

Help me. I give this question on forum in my country, but nobody give the answer. Sory for my bad english