Click here to Skip to main content
15,909,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Elegant way of handling a lot of variables ? Pin
Owner drawn6-Feb-06 0:53
Owner drawn6-Feb-06 0:53 
GeneralRe: Elegant way of handling a lot of variables ? Pin
Cedric Moonen6-Feb-06 1:03
Cedric Moonen6-Feb-06 1:03 
GeneralRe: Elegant way of handling a lot of variables ? Pin
Owner drawn6-Feb-06 1:04
Owner drawn6-Feb-06 1:04 
QuestionHow to compile "Express OLE DB Library" under VS2003 Std Pin
gomez_a6-Feb-06 0:25
gomez_a6-Feb-06 0:25 
QuestionHow to ignore '/EDITANDCONTINUE' option Pin
arunperi6-Feb-06 0:25
arunperi6-Feb-06 0:25 
AnswerRe: How to ignore '/EDITANDCONTINUE' option Pin
ThatsAlok6-Feb-06 0:46
ThatsAlok6-Feb-06 0:46 
GeneralRe: How to ignore '/EDITANDCONTINUE' option Pin
arunperi6-Feb-06 0:57
arunperi6-Feb-06 0:57 
QuestionNo tooltips within message loop Pin
Wim Engberts5-Feb-06 23:49
Wim Engberts5-Feb-06 23:49 
Hi,

I have a program to debug a proprietary mapping language. The window contains a CToolBar that will generate tooltips. When the program runs, it stops at each mapping command, waiting for the user to press all kinds of keys. During this, I have the messages processed using the following code:

while (m_bLoop)
{
WaitMessage ();
while (PeekMessage (&msg, NULL, 0, 0, PM_REMOVE))
{
if (!PreTranslateMessage (&msg))
{
TranslateMessage (&msg);
DispatchMessage (&msg);
}
}
}

During this message pump, everything works just fine (keys, menus, sizing or moving the window, etc), except that the tooltips on the toolbar don't show. When the program ends, and hence reverts to the standard message pump, the tooltips will show again.

Does anyone have an explanation for this?

Thanks in advance for any help

William Engberts
AnswerRe: No tooltips within message loop Pin
Blake Miller6-Feb-06 13:51
Blake Miller6-Feb-06 13:51 
GeneralRe: No tooltips within message loop Pin
Wim Engberts7-Feb-06 22:33
Wim Engberts7-Feb-06 22:33 
GeneralRe: No tooltips within message loop Pin
Blake Miller8-Feb-06 4:43
Blake Miller8-Feb-06 4:43 
QuestionErrors! Migrating Adobe Acrobat 7.0 Pin
Antonymaharaj5-Feb-06 23:37
Antonymaharaj5-Feb-06 23:37 
QuestionWritting a data insame file again Pin
zahid_ash5-Feb-06 23:33
zahid_ash5-Feb-06 23:33 
AnswerRe: Writting a data insame file again Pin
Cedric Moonen5-Feb-06 23:36
Cedric Moonen5-Feb-06 23:36 
GeneralRe: Writting a data insame file again Pin
zahid_ash5-Feb-06 23:40
zahid_ash5-Feb-06 23:40 
AnswerRe: Writting a data insame file again Pin
_anil_5-Feb-06 23:45
_anil_5-Feb-06 23:45 
GeneralRe: Writting a data insame file again Pin
Wim Engberts5-Feb-06 23:53
Wim Engberts5-Feb-06 23:53 
GeneralRe: Writting a data insame file again Pin
_anil_5-Feb-06 23:56
_anil_5-Feb-06 23:56 
AnswerRe: Writting a data insame file again Pin
ThatsAlok6-Feb-06 0:39
ThatsAlok6-Feb-06 0:39 
Questionhow do we check if the computer is connected to the network Pin
namaskaaram5-Feb-06 23:30
namaskaaram5-Feb-06 23:30 
AnswerRe: how do we check if the computer is connected to the network Pin
namaskaaram5-Feb-06 23:31
namaskaaram5-Feb-06 23:31 
GeneralRe: how do we check if the computer is connected to the network Pin
ThatsAlok6-Feb-06 0:35
ThatsAlok6-Feb-06 0:35 
Questionsetting dialog size at run time Pin
swaapu5-Feb-06 23:18
swaapu5-Feb-06 23:18 
AnswerRe: setting dialog size at run time Pin
_anil_5-Feb-06 23:51
_anil_5-Feb-06 23:51 
GeneralRe: setting dialog size at run time Pin
swaapu6-Feb-06 0:08
swaapu6-Feb-06 0:08 

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.