Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2008.02.10;
Скачать: CL | DM;

Вниз

Прорисовка PopupMenu   Найти похожие ветки 

 
Washington ©   (2008-01-14 15:13) [0]

Разобрался я с вызовом оного. Теперь разобраться бы с прорисовкой. Можно ли его ручками нарисовать? Если можно, то как?


 
Amoeba ©   (2008-01-14 17:27) [1]

Можно.

Specifies whether the menu items are drawn by the application.

property OwnerDraw: Boolean;

Description

Set OwnerDraw to True to indicate that the application will draw menu items in an OnDrawItem event handler. When OwnerDraw is True, menu items receive an OnMeasureItem and an OnDrawItem event when they need to be rendered on screen.

Set OwnerDraw to False to accept the default drawing. When OwnerDraw is False, menu items display the caption with an optional image to the left (If the Images and ImageIndex properties are set).

Owner-draw menus are useful for displaying the value that appears when selecting a menu item. For example, in a menu that allows users to choose a color, an owner-draw menu could display rectangles drawn in the designated color, rather than color names.



Страницы: 1 вся ветка

Текущий архив: 2008.02.10;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.024 c
2-1200840259
savyhinst
2008-01-20 17:44
2008.02.10
TMemoryStream->TFileStream


15-1199901391
No_Dead
2008-01-09 20:56
2008.02.10
Работают ли «законы Мерфи»?:)


15-1200106713
sauron
2008-01-12 05:58
2008.02.10
BIOS?


8-1173263139
homm
2007-03-07 13:25
2008.02.10
Geometrical Pen


15-1199936235
Slider007
2008-01-10 06:37
2008.02.10
С днем рождения ! 10 января 2008 четверг