QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I cancel a context menu programatically?

Windows Forms FAQ - Windows Forms Menus
First keep track of which control is showing the ContextMenu by listening to the menu's Popup event and querying for the SourceControl.

How do I get to the Context Menu?

Frequently Asked Questions
The Context Menu comes up when you right click in the diagram pane, on the left side of the SymblCro window. Right click where you want to place a stitch, and the Context Menu should just come up. So far SymblCro has no "Save Version" feature, but if you want to create variants of a pattern, you can close a pattern at a "Save" point, then copy the .pat and .rtf files into another name. Then you can open either of the versions and continue working. See similar questions...

How do I disable the right-click context menu in a TextBox?

TextBox - Windows Forms FAQs
You can set the ContextMenu property of the TextBox to a dummy, empty ContextMenu instance. Contributed from George Shepherd's Windows Forms FAQ See similar questions...

How do I add a context menu to a control?

Windows Forms FAQ - Windows Forms Menus
The frame will manage a context menu for you if you set the control's ContextMenu property. Here is some code adding a context menu to a Label. The ContextMenu.SourceControl property will specify the latest Control on which the context menu was shown. See similar questions...

Sometimes a picture is not displayed in the context menu. Why?

Shell picture - frequently asked questions
If you have selected the "Web-like" display of a folder in Windows 98, it may happen with large files that you have to click a second time on a file in order to obtain a preview and the Shell Picture functions. See similar questions...

How to add a context menu to my bar?

DataMekanix - CSizingControlBar - f.a.q.
First, you need a submenu in the main menu (the View submenu is great). Add there menu items of type ID_VIEW_MYBAR and add handlers in the mainframe (see both samples for this). Now handle WM_CONTEXTMENU in your bar: void CMyBar::OnContextMenu(CWnd* pWnd, CPoint point) { CMenu menu; menu.LoadMenu(IDR_MAINFRAME); menu.GetSubMenu(1)->TrackPopupMenu(TPM_LEFTALIGN, point.x, point. See similar questions...

Can I use dropDownMenu as context menu?

Frequently Asked Questions
The <rich:dropDownMenu> is designed keeping in mind that it should not be used for a contextMenu purpose. We have a <rich:contextMenu> component in the TODO list. However, it is not schedule for the nearest versions. See similar questions...

How can I restore the default context menu from the browser?

Professional Pulldown Menus Builder. DHTML Pulldown Menu Gen...
Yes. DHTML Menu Builder will not allow you to cerate more than 32,767 groups and 32,767 commands. More than enough we think ;) See similar questions...

How do I disable the default context menu of a textbox?

Windows Forms FAQ - Windows Forms Menus
To prevent the default context menu of a TextBox from showing up, assign a empty context menu as shown below: See similar questions...

I enabled all RoboForm IE context menu items but not all of them show up. What should I do?

Frequently Asked Questions: Store Passwords and Fill Forms A...
Internet Explorer has a limit on the number of context menu items that it can show. So if you enabled a number of RoboForm context menu items, restarted Internet Explorer and you still do not see the few last RoboForm context menu items then maybe you have hit this limit. If you suspect that this is the case then uninstall other software products that add IE context menu items or increase the resolution of your display. For some reason Windows XP does not show all the TaskBar/SysTray icons. See similar questions...

What is the "Access Password" in the account's context menu???

Questions about the general usage of FoxMail
This option will put a password on the account, you will have to provide this password every time you open this account, or press {F4} to collect the mail on all your accounts. Use this option only if want to hide mail from others using the same computer! If you accidentally entered a password here, please refer to the "Problem Solving" section of this FAQ. See similar questions...

Why doesn't Context Menu Manager show the exact menu strings?

FAQ
Context menus in Windows Explorer are complex things. A module registers itself in the registry for a particular menu. When you right-click in the appropriate spot, Explorer queries each module in turn for the menu strings they want to add. The module is free to add as many strings as it wants, even submenus and sub-submenus. What's more the module can change what strings it provides based on whatever criteria it wants to use. See similar questions...

Is there any way to get the screen coordinates of the cell, in order to align nicely a context menu?

Exontrol Software - ExList FAQ page
Private Sub getCellPos(ByVal l As EXLISTLibCtl.List, ByVal nItem As Long, ByVal nColumn As Long, x As Long, y As Long) x = -l.ScrollPos(False) With l Dim c As EXLISTLibCtl.Column For Each c In .Columns If (c.Visible) Then If (c.Position < .Columns(nColumn).Position) Then x = x + c.Width End If End If Next y = 0 If (.HeaderVisible) Then y = y + .HeaderHeight End If With .Items Dim i As Long i = .FirstVisibleItem While Not (i = nItem) And (i >= 0) y = y + .ItemHeight(i) i = . See similar questions...

How do I make the context menu appear only when clicked at certain portions of the Control?

Windows Forms FAQ - Windows Forms Menus
You can listen to the Popup event, determine where the mouse was clicked and selectively make the menu items visible in the menu as follows: See similar questions...

How do I prevent the context menu from showing up on certain keyboard keys (like Keys.Apps)?

Windows Forms FAQ - Windows Forms Menus
Override WndProc in your Control and do the following. You should then listen to keyup and show the context menu yourself. See similar questions...

How do I control the position of the context menu when it is invoked via the keyboard?

Windows Forms FAQ - Windows Forms Menus
Normally, the context menu will be shown at the center of the control when the keyboard is used to invoke the context menu of a control (Shift+F10, for example). You can customize the location as follows. If so, check if the Message.LParam is -1, which means this was due to a keyboard message as opposed to the user right-clicking the mouse. See similar questions...

How can I make the context menu to close after a set time interval?

Windows Forms FAQ - Windows Forms Menus
To automatically close the context menu after a set time interval, you can use a Timer and send a ESC key stroke after the desired time interval as shown: See similar questions...

Is there any way to add new items to the control's context menu?

Exontrol Software - ExEdit FAQ page
The ContextMenuItems property specifies a list of items that control adds to its context menu when it is invoked. The AllowContextMenu property specifies whether the control displays its context menu when user right click the control. The list of items is separated by 'New Line' (\n or chr(10)) or 'Carriage return' (\r or chr(13) character. The ExecuteContextMenu event is fired when user selects an user item from the control's context menu. See similar questions...

Is there any function to get the cell's coordinates, in order to align nicely my context menu?

Exontrol Software - ExGrid FAQ page
Private Sub getCellPos(ByVal g As EXGRIDLibCtl.Grid, ByVal hItem As EXGRIDLibCtl.hItem, ByVal nColumn As Long, X As Long, Y As Long) X = -g.ScrollPos(False) With g Dim c As EXGRIDLibCtl.Column For Each c In .Columns If (c.Visible) Then If (c.Position < .Columns(nColumn).Position) Then X = X + c.Width End If End If Next Y = 0 If (.HeaderVisible) Then Y = Y + .HeaderHeight End If With .Items Dim i As EXGRIDLibCtl.hItem i = .FirstVisibleItem() While Not (i = hItem) And Not (i = 0) Y = Y + . See similar questions...

Explore Other Topics

Can I connect to Timesheets through a VPN or other remote network connection?
What is a MilliAmp Hour (MAH)?
There are tiny black particles in my water what is wrong?
How do I hook up my sump pump?
What is a Political Disclaimer?
HOW DO I EVALUATE THE RNA QUALITY FOR EXPRESSION PROFILING ON MICROARRAY?
Is there a difference between Gold Vermeil and Gold-plated?
Are out-of-state providers permitted to enroll in the MO HealthNet program?
What did the ancient Egyptians eat?
How many megabytes and how much RAM do I need to run WorkingArtist?
What are the benefits of installing a jack plate?
What growing conditions does lavender need?
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact