Solved

How to add a textbox to a contex menuitem?

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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