Change the help menu in C ++ Builder to the right side

xiaoxiao2021-03-06  20

There are two windows menus, where the second item is the help, our purpose is to change the help menu location to the right side

CHAR TEM [255];

Menuiteminfo S;

s.cbsize = sizeof (menuiteminfo);

S.fmask = miim_type;

s.dewtypedata = TEM;

GetMenuiteminfo (Mainmenu1-> Handle, 1, True, & s);

S.ftype | = mft_rightjustify;

SetMenuItemInfo (Mainmenu1-> Handle, 1, True, & s);

DrawmenUbar (Handle);

转载请注明原文地址:https://www.9cbs.com/read-43678.html

New Post(0)