![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cWinApp.h>
Public Member Functions | |
virtual void | ProcessMessage (MSG &msg) |
HRESULT | ProcessMessages (TIMESYSD_t tMax=10) |
Static Public Member Functions | |
static cWinMessagePump *GRAYCALL | get_MessagePump () |
A Windows GUI message processor thread. Similar to MFC CWinThread and PumpMessage
|
static |
Get the main cWinMessagePump built into CWinApp or get a blank one if we can't otherwise get it. (e.g. we are not a GUI app) Call this if i don't know if this is a true windows app or not.
Is this on the main window thread?
|
virtual |
Process a single message Make this virtual so we can do other stuff like TranslateAccelerator() or IsDialogMessageA() message processing. return or ignore LRESULT ?
HRESULT GrayLib::cWinMessagePump::ProcessMessages | ( | TIMESYSD_t | tMax = 10 | ) |
Process messages for the threads queue.