Вниз
Скачать: CL | DM;

Использую Flash в своих прогах есть проблема???   Найти похожие ветки 

 
bearoman   (2002-12-18 16:55) [0]

При нажатии второй клавиши мыши появляется меню флеша. Как его убрать? Может перехватывать нажатие второй клавиши мышки. Пожалуйста пример перехвата или что то другое?


 
CeT   (2003-02-09 23:04) [1]

Пожалуйста:

Removing the popup menu in Macromedia Flash .OCX
Note: Click Title to view in Edit Box for easier copying.

Related Links
Displaying Macromedia Flash .SWF files in your Delphi Application!
Macromedia Flash Resizing

In Delphi 5, place an "Application Events" component onto the form.

On the "OnMessage" Event place the following code:

procedure TForm1.ApplicationEvents1Message(var Msg: tagMSG;
var Handled: Boolean);
begin
if Msg.message = WM_RBUTTONDOWN then Handled := True;
end;

If by chance you wanted to place your own popupmenu, then do the following:

procedure TForm1.ApplicationEvents1Message(var Msg: tagMSG;
var Handled: Boolean);
begin
if Msg.message = WM_RBUTTONDOWN then
begin
popupmenu1.Popup(Mouse.CursorPos.X, Mouse.CursorPos.Y);
Handled := True;
end;
end;

Hope that helps someone that wanted to know how to do this.

C хуками еще поработай...
Удачи!!!



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

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.012 c
3-70092
Igor Mish
2003-05-03 18:31
2003.05.22
Сетевая база


3-70109
Consty
2003-04-29 17:09
2003.05.22
Как корректно редактировать поле с датой в dbGrid?


7-70535
Calm
2003-03-24 16:19
2003.05.22
Как узнать запущен ли процесс с заданным именем?


14-70481
GOOD
2003-05-01 02:33
2003.05.22
<B>прочитайте выписки из известных рассказов, газет, поэм</B>


1-70234
Dankin
2003-05-11 13:33
2003.05.22
Диалог выбора директории.




   Наверх