Главная страница
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.016 c
15-1199647800
Sergey Masloff
2008-01-06 22:30
2008.02.10
Рождественская история (ресальная)


15-1200080417
Черный Шаман
2008-01-11 22:40
2008.02.10
Билинейная или бикубическая фильтрация с учетом TransparentColor


2-1199975765
312kbps
2008-01-10 17:36
2008.02.10
Не могу создать DBF файл на соседнем компе (


6-1179513502
X-rem
2007-05-18 22:38
2008.02.10
Post


1-1194027587
Slim
2007-11-02 21:19
2008.02.10
MDI форма заполняла главную форму (от ToolBar-а до самого низа)