gorilla Posted June 25, 2003 Posted June 25, 2003 Hi, I was just wondering if you could programmatically change the size of the font and the font in the context menu without having to do an owner draw context menu in C#. If no then can someone point me in the right direction for an example of owner draw context menu? thanks Quote
*Experts* Volte Posted June 25, 2003 *Experts* Posted June 25, 2003 You can't, but I did an Ownerdrawn menu in my IExtenderProvider example (look in the Code Library for that). You can look at the code and see how to ownerdraw menus (it's for MainMenus, but the MenuItems are the same). Quote
Mehyar Posted June 26, 2003 Posted June 26, 2003 You can still always simulate your own menus, which would give you a lot more options design wise, a couple of picture boxes and handling their mouse over and click events... Quote Dream as if you'll live forever, live as if you'll die today
gorilla Posted July 2, 2003 Author Posted July 2, 2003 Hey VolteFace, I was lookin at your IEXtenderProvider example and I'm not sure how it works. i'm still a little new to microsoft vs...i followed your instructions of compilin the .dll and then draggin it in. i also placed my images into the image list but i'm not sure what the next step is, please help me out on this, much appreciated, thanks Quote
gorilla Posted July 2, 2003 Author Posted July 2, 2003 i tried something like this but it does't work, i'm probably way off but Button1.PictureBox = menuIconProvider1.IconImageList.Images; Quote
gorilla Posted July 2, 2003 Author Posted July 2, 2003 by the way, i'm tryin to implement this as a context menu for a "button" (the button is actually a picturebox control) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.