Solved

45060 = WM_????

Posted on 2001-07-04
8
521 Views
Last Modified: 2008-03-10
Hi all,
does somebody know what is the analog for integer value 45060 and 45063 in windows mnemonic WM_SOMETHING?

procedure TMyComp.WndProc(var M: TMessage);
begin
  if M.Msg = 45060 then  // if M.Msg = WM_????? then
  begin
     //.....
  end;
  Inherited;
end;

-----
Igor.
0
Comment
Question by:ITugay
  • 3
  • 3
  • 2
8 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6252047
? listening ...
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6252090
They are probably user defined messages....
0
 
LVL 13

Expert Comment

by:Epsylon
ID: 6252100
So in that case it will be:

WM_USER + 44036 and WM_USER + 44039
0
 
LVL 9

Author Comment

by:ITugay
ID: 6252107
hi meikl :-)
hi epsilon :-)

building a component (and monitoring messages coming to WndProc) I found some usefull for me messages. It something like non-client mouse click. May be it defined somewhere in Delphi?

------
Igor
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 27

Expert Comment

by:kretzschmar
ID: 6252111
can't evaluate, no delphi here,
but delphi defines also user-messages
0
 
LVL 13

Accepted Solution

by:
Epsylon earned 100 total points
ID: 6252122
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/hh/winui/messques_4soi.asp

Talks about a new range starting from WM_APP ($B000=45056) to $BFFF (=49151) that is to be used by applications.
0
 
LVL 9

Author Comment

by:ITugay
ID: 6252136
Ok, seems you guide me  on the right way,
thanx :-)
0
 
LVL 9

Author Comment

by:ITugay
ID: 6252245
hi,
just some info.

here is what I did with the 45060 message.
Sample shows how to hide component when user clicks on empty area of a form (or even on  title of the form) or any other component. NT4 and W95 tested.

It works in case of standalone component (windows.SetParent(Handle,0)) , something like DropDownList of combobox or popup menu. Time to time this question apears on EE. Seems now it can be solved by easy way :-)

procedure TMyComp.WndProc(var M: TMessage);
begin
  if M.Msg = WM_LBUTTONDOWN then
    FLastClick := GetTickCount;

  if (M.Msg = 45060) and
    (FLastClick + 100 < GetTickCount) then
      Hide;

  Inherited;
end;


------
Igor.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi: how to send PJL commands to printer 3 89
Using idhttp to login to instagram 2 76
tidtcpserver connection lost handle 2 71
Find and Replace Stream with 0s 8 57
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now