Advertisement

1 - 10 of 24 containing alltags:("peekmessage") (0.001 seconds)
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...
Zones: Delphi ProgrammingDate Answered: 05/11/2001 Grade: A Views: 0
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)      {  ...
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...
Zones: Windows ProgrammingDate Answered: 03/11/2004 Grade: B Views: 0
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...
Zones: MS Visual BasicDate Answered: 10/27/2005 Grade: A Views: 0
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...
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 ...
Zones: Windows ProgrammingDate Answered: 07/31/1999 Grade: A Views: 21
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(...
Zones: Windows ProgrammingDate Answered: 09/01/1999 Grade: C Views: 0
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...
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...
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...
Zones: Delphi ProgrammingDate Answered: 05/10/2007 Grade: B Views: 6