Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInitiate Sending EMail from C++ Pin
Vancouver10-Jan-05 4:44
Vancouver10-Jan-05 4:44 
GeneralRe: Initiate Sending EMail from C++ Pin
Neville Franks10-Jan-05 8:51
Neville Franks10-Jan-05 8:51 
GeneralRe: Initiate Sending EMail from C++ Pin
Vancouver23-Jan-05 20:22
Vancouver23-Jan-05 20:22 
GeneralRe: Initiate Sending EMail from C++ Pin
PJ Arends10-Jan-05 9:04
professionalPJ Arends10-Jan-05 9:04 
GeneralRe: Initiate Sending EMail from C++ Pin
Vancouver23-Jan-05 20:20
Vancouver23-Jan-05 20:20 
GeneralRe: Initiate Sending EMail from C++ Pin
Shog910-Jan-05 9:36
sitebuilderShog910-Jan-05 9:36 
GeneralRe: Initiate Sending EMail from C++ Pin
Vancouver23-Jan-05 20:25
Vancouver23-Jan-05 20:25 
Questionlosing mouse events, help? Pin
DBob10-Jan-05 4:32
DBob10-Jan-05 4:32 
Hi,
I am seeing "mouse up" messages disappear in the main event loop of my app and wondered if anyone's seen this problem before or has an idea what's going on?

Details:
The app has a custom event loop which gives time to some OpenGL display code and I have used PeekMessage with PM_NOREMOVE to see when there is a "mouse up" message in the queue. What I have found is that the calls to PreTranslateMessage and DispatchMessage can cause the "mouse up" message to vanish from the queue.

Summary of event loop for reference:

while(!quit)
{
    while(::PeekMessage(&msgCur, NULL, NULL, NULL, PM_REMOVE))
    {
        // ... extra control logic ...
        if(!PreTranslate(&msgCur))
        {
            ::TranslateMessage(&msgCur);
            ::DispatchMessage(&msgCur);
        }
        // ... more control logic ....
    }
    // ... more control logic ...
}


Any help appreciated.

Rob.
GeneralGlobal Variables in VC++ 6 Pin
guf-cryptkeeper10-Jan-05 4:23
guf-cryptkeeper10-Jan-05 4:23 
GeneralRe: Global Variables in VC++ 6 Pin
fklldsvs10-Jan-05 7:44
fklldsvs10-Jan-05 7:44 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper10-Jan-05 22:53
guf-cryptkeeper10-Jan-05 22:53 
GeneralRe: Global Variables in VC++ 6 Pin
act_x10-Jan-05 8:11
act_x10-Jan-05 8:11 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper10-Jan-05 22:58
guf-cryptkeeper10-Jan-05 22:58 
GeneralRe: Global Variables in VC++ 6 Pin
Iain Clarke, Warrior Programmer10-Jan-05 8:45
Iain Clarke, Warrior Programmer10-Jan-05 8:45 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper13-Jan-05 3:10
guf-cryptkeeper13-Jan-05 3:10 
GeneralRe: Global Variables in VC++ 6 Pin
Iain Clarke, Warrior Programmer13-Jan-05 4:38
Iain Clarke, Warrior Programmer13-Jan-05 4:38 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper11-Jan-05 23:39
guf-cryptkeeper11-Jan-05 23:39 
GeneralBind a EDIT CONTROL or DATACOMBOCONTROL Pin
elo471110-Jan-05 3:44
elo471110-Jan-05 3:44 
GeneralRe: Urgent help required - Window minimize/restore problem when process priority class is set to HIGH Pin
Shog910-Jan-05 9:43
sitebuilderShog910-Jan-05 9:43 
GeneralWriting to Crystal Report RPT file using TTX file Pin
ruturaj10-Jan-05 0:50
ruturaj10-Jan-05 0:50 
GeneralCustom App Wizard Problem Pin
deep_198110-Jan-05 0:40
deep_198110-Jan-05 0:40 
GeneralI'm looking for algorithms Pin
Rassul Yunussov9-Jan-05 23:42
Rassul Yunussov9-Jan-05 23:42 
GeneralRe: I'm looking for algorithms Pin
Arsalan Malik10-Jan-05 0:19
Arsalan Malik10-Jan-05 0:19 
GeneralRe: I'm looking for algorithms Pin
Antony M Kancidrowski10-Jan-05 6:43
Antony M Kancidrowski10-Jan-05 6:43 
GeneralCorba - TAO (Windows C++) Pin
sweep1239-Jan-05 23:36
sweep1239-Jan-05 23:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.