常見例句Cool Owner Drawn Menus with Bitmaps Version 2. 自己繪制帶有位圖的菜單版本2。Owner Drawn Menu with Icons (4) (automat - This is another way to draw a menu with bitmaps item. 這個項目演示了另一種創(chuàng)建自繪制位圖菜單的例子。Owner drawing must be used to draw the node tags and to draw a customized highlight rectangle large enough to include a node tag. 在繪制節(jié)點標(biāo)記時,以及在繪制足以容納一個節(jié)點標(biāo)記的自定義突出顯示矩形時,必須使用所有者描述。Owner drawing in Windows Forms, which is also known as custom drawing, is a technique for changing the visual appearance of certain controls. Windows窗體中的所有者描述(也稱為自定義繪制)是一項用于更改某些控件的視覺外觀的技術(shù)。With owner drawing, you take over the painting process, changing elements of appearance that are not available by using properties. 使用所有者描述,您可以接管繪制進程,更改無法使用屬性更改的外觀元素。This event is raised before owner drawn menus are drawn to allow for the size of the menu item to be drawn to be specified. 在繪制所有者描述的菜單前引發(fā)該事件,以便能夠指定要繪制的菜單項的大小。 返回 owner-draw