Solved

45060 = WM_????

Posted on 2001-07-04
8
529 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

772 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