Solved

How to add a textbox to a contex menuitem?

Posted on 2004-09-13
2
309 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now