Solved

How to add a textbox to a contex menuitem?

Posted on 2004-09-13
2
327 Views
Last Modified: 2008-02-01
Hi,
I need to design a context menu exactly like the table datasheet shortcut menu in MS Access. When right-clicking on a datagrid column I would like the context menu to show some menu items including a menuitem as follows: Filter for: _________ (the line here should actually be s a textbox where the user types a filter criteria.
I already know how to add icons to a menuitem with the OwnerDreaw, but I did not figure out how to add a textbox to the item.
Thanks,
Sima
0
Comment
Question by:harmony1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
arif_eqbal earned 250 total points
ID: 12042335
Not sure if System.Windows.Forms.DrawItemEventArgs has some method to do what you want. However you can go for a windows Form disguised as a Context Menu there you can have all the options you want....
0
 
LVL 25

Expert Comment

by:RonaldBiemans
ID: 12042458
You can not add a textbox to a contextmenu, do what erif eqbal proposes
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question