I added 2 Items to the Systemmenu, as long i dont use Skinning (Active = false) i see the Items in the Systemmenu. If i turn the Skinning on, then my 2 Systemmenue Items are nomore Visible.
Yes sure, this is the way i add the Items. I used that in many of my Tools.
Quote:
Code:
// Add a Menu Item to the System Menu
hMenu := GetSystemMenu(Handle, False);
if hMenu <> 0 then
begin
if not InsertMenu(hMenu, 6, MF_BYPOSITION, $F200, 'About the Program…') then
ShowMessage(SysErrorMessage(GetLastError));
if not InsertMenu(hMenu, 7, MF_BYPOSITION or MF_Separator, $00, '') then
ShowMessage(SysErrorMessage(GetLastError));
DrawMenuBar(hMenu);
end
else
begin
………..
end;