Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cWinMessagePump Class Reference

#include <cWinApp.h>

Inheritance diagram for GrayLib::cWinMessagePump:
GrayLib::CWinApp

Public Member Functions

virtual void ProcessMessage (MSG &msg)
 
HRESULT ProcessMessages (TIMESYSD_t tMax=10)
 

Static Public Member Functions

static cWinMessagePump *GRAYCALL get_MessagePump ()
 

Detailed Description

A Windows GUI message processor thread. Similar to MFC CWinThread and PumpMessage

Member Function Documentation

◆ get_MessagePump()

cWinMessagePump *GRAYCALL GrayLib::cWinMessagePump::get_MessagePump ( )
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?

◆ ProcessMessage()

void GrayLib::cWinMessagePump::ProcessMessage ( MSG &  msg)
virtual

Process a single message Make this virtual so we can do other stuff like TranslateAccelerator() or IsDialogMessageA() message processing. return or ignore LRESULT ?

◆ ProcessMessages()

HRESULT GrayLib::cWinMessagePump::ProcessMessages ( TIMESYSD_t  tMax = 10)

Process messages for the threads queue.


The documentation for this class was generated from the following files: