Solved

45060 = WM_????

Posted on 2001-07-04
8
546 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

730 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