Right-aligned menu item |
Post Reply |
Author | |
Mirek
Newbie Joined: 27 June 2013 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 06 May 2024 at 4:50am |
Is there a simple way to have one menu item on the right side of the MenuBar? See example below, where "Logout" is actually a popup menu. Thank you. +-------------------------------------------------------------------+ | File Edit View Help Logout | +-------------------------------------------------------------------+ |
|
Mirek
Newbie Joined: 27 June 2013 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
I managed to solve it, here is the solution: CXTPControl* pLoginSubmenu = ... (get pointer to the "Login" CXTPControl) pLoginSubmenu->SetFlags(pLoginSubmenu->GetFlags() | xtpFlagRightAlign);
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |