when i use this,
sendmessage(HWND_BROADCAST,WM_NTF_NEWML,0,0);
the message is sent to all applications, and i can handle it inother aplication using
procedure got_mess(var msg: TMessage); messag...
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20116042.html
Hi, Im having difficulty managing the window messages. Here is some code snippet:
BOOL CEnigma::HandleMessages(void)
{
if (PeekMessage (&msg, NULL, 0, 0, PM_REMOVE) != WM_QUIT)
{
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20267628.html
Zones:
C++Date Answered: 04/22/2002 Grade: A Views: 0
Hi,
In the paint routine of a window I have the following code:
for (....)
{
// painting code:
// ....
// allow messages to be processed:
MSG msg;
TRACE("pr...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_20276810.html
Hi,
How can I detect inside the Validating event handler that the user is trying to close the form using any of the standard ways - like clicking on the close box at the top right of the form, p...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_Basic.NET/Q_21592026.htm...
I am using MSVC++ 6.0.
How (preferably using the Win32 API) can I trap events that are sent to another application. Specifically, how do I monitor keystrokes that are being sent to another applic...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10124790.html
Zones:
C++Date Answered: 02/15/1999 Grade: B Views: 0
I've got a app whose main window I'm subclassing. In response to a specific message, I sit in a PeekMessage loop for a while. While in the PeekMessage loop everything is fine except for the fact ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_10188354.html
Hello?
I'm trying to add a routine to my program.
What I try to do is start a long job which draws something
on and on with while loop. I'd like to do this job even when
a user select other menu(...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_10191358.html
I'm using following function
BOOL Do_Yield(){
MSG msg;
if(PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE))
{if(!GetMessage(&msg, NULL, 0, 0 ))
{PostQuitMessage( msg.wParam );
retu...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20253292.html
Zones:
C++Date Answered: 01/10/2002 Grade: A Views: 0
I've just added the _beginthread() function to my game to do the loading in a thread
(and permit the user to have control of the window or escape and so on...)
The problem is not only the textu...
http://www.experts-exchange.com/Programming/Languages/C/Q_20635966.html
Zones:
CDate Answered: 06/09/2003 Grade: A Views: 0
In our major project, we notice sometimes that our whole application freezes for some time. This is noticed because we have watchdog timers for our tcp/ip communication.
If there is not incoming t...
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_22140278.html