Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Open a button menu using a command
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) Printable version
View previous topic :: View next topic  
Author Message
Balderstrom
Power Member
Power Member


Joined: 11 Oct 2005
Posts: 2024

PostPosted: Wed Jul 22, 2009 5:43 pm    Post subject: Reply with quote

Display it where the MouseCursor is...like a contextMenu is done.

Of course the context-menu button on my keyboard itself, doesn't seem to be related to the mouse cursor at all. In opera it seems to open primarily milddle of the screen, and in TC it seems to bounce around.
Back to top
View user's profile Send private message Send e-mail
LonerD
Member
Member


Joined: 19 Jun 2010
Posts: 156
Location: Ukraine

PostPosted: Mon Jul 23, 2012 8:27 am    Post subject: Reply with quote

Support++
Support++
Support++

TCMenu can do it but not support by author. Native realization in TC will be a wonderful.
Back to top
View user's profile Send private message
Balderstrom
Power Member
Power Member


Joined: 11 Oct 2005
Posts: 2024

PostPosted: Mon Jul 23, 2012 11:44 am    Post subject: Reply with quote

As far as deciding where to open the menu, one or two wincmd.ini settings, with sane defaults would settle that issue.

OpenManualButtonBarLocation=
1: TopLeft of active panel.
2: TopRight of active panel.
4: Outside of active panel:
__ TopLeft, if panel is left.
__ TopRight, if panel is right.
8: Inside of active panel:
__ TopRight, if panel is left.
__ TopLeft, is panel is right.
16: At the cursor position
1024: At the mouse cursor, if it is within TC's window.
__ Else one of the previous settings (1-16)

The code used to display a drop-down button-bar menu on the existing Main button-bar is all that would be needed --- so long as we can indicate where the menu should open as noted above.
A few more positions could be added easily enough - if suggestions were requested for any other needed positions before implementing the feature.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC suggestions (English) All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group