Click here to Skip to main content
15,900,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: connect to a DB2 database from the VC++ Pin
Rajesh R Subramanian26-Aug-09 20:06
professionalRajesh R Subramanian26-Aug-09 20:06 
QuestionCRegKey and Vista permissions Pin
jeffb4226-Aug-09 12:55
jeffb4226-Aug-09 12:55 
AnswerRe: CRegKey and Vista permissions Pin
David Crow26-Aug-09 17:30
David Crow26-Aug-09 17:30 
QuestionPassword Program Help Please!!! Pin
posidonofthecode26-Aug-09 10:06
posidonofthecode26-Aug-09 10:06 
AnswerRe: Password Program Help Please!!! Pin
David Crow26-Aug-09 10:58
David Crow26-Aug-09 10:58 
GeneralRe: Password Program Help Please!!! Pin
posidonofthecode27-Aug-09 14:29
posidonofthecode27-Aug-09 14:29 
QuestionFunction return? Pin
dipuks26-Aug-09 7:39
dipuks26-Aug-09 7:39 
AnswerRe: Function return? Pin
Code-o-mat26-Aug-09 9:14
Code-o-mat26-Aug-09 9:14 
Well, not directly because it is a TIMERPROC, but because it is called by/via a timer regularry. Does it keep popping up the dialog over and over again? You should either kill the timer before displaying the dialog and if needed, restart it after it has been dismissed, or maybe have a global or static variable that you use to signal if the dialog is up or not. For example like:
void CALLBACK GetDialog()
{
  static bool dlgIsUp = false;
  if (!dlsIsUp)
  {
    dlgIsUp = true;
    int k = NewDialog(...);
    dlgIsUp = false;
  }
}


> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

Question/embedding setting does not work on Vista Pin
Fwzklmn26-Aug-09 7:35
Fwzklmn26-Aug-09 7:35 
QuestionHow do some viruses act without appearing in task manager? Pin
Joseph Marzbani26-Aug-09 7:00
Joseph Marzbani26-Aug-09 7:00 
AnswerRe: How do some viruses act without appearing in task manager? Pin
zhu_lin26-Aug-09 22:31
zhu_lin26-Aug-09 22:31 
QuestionSetting the item count for a CListBox 'No Data' control Pin
tmcart26-Aug-09 5:38
tmcart26-Aug-09 5:38 
AnswerRe: Setting the item count for a CListBox 'No Data' control Pin
David Crow26-Aug-09 6:10
David Crow26-Aug-09 6:10 
QuestionRe: Setting the item count for a CListBox 'No Data' control [modified] Pin
tmcart26-Aug-09 6:47
tmcart26-Aug-09 6:47 
AnswerRe: Setting the item count for a CListBox 'No Data' control Pin
tmcart3-Sep-09 23:39
tmcart3-Sep-09 23:39 
QuestionLimit Number of connections from a given IP Pin
Veandhan26-Aug-09 5:26
Veandhan26-Aug-09 5:26 
QuestionRe: Limiting Connections from a given IP in MFC Pin
CPallini26-Aug-09 5:47
mveCPallini26-Aug-09 5:47 
AnswerRe: Limiting Connections from a given IP in MFC Pin
Rajesh R Subramanian26-Aug-09 7:48
professionalRajesh R Subramanian26-Aug-09 7:48 
AnswerRe: Limiting Connections from a given IP in MFC Pin
David Crow26-Aug-09 9:22
David Crow26-Aug-09 9:22 
GeneralRe: Limiting Connections from a given IP in MFC Pin
Rajesh R Subramanian26-Aug-09 18:49
professionalRajesh R Subramanian26-Aug-09 18:49 
GeneralRe: Limiting Connections from a given IP in MFC Pin
CPallini26-Aug-09 21:36
mveCPallini26-Aug-09 21:36 
JokeRe: Limiting Connections from a given IP in MFC Pin
Rajesh R Subramanian26-Aug-09 22:22
professionalRajesh R Subramanian26-Aug-09 22:22 
JokeRe: Limiting Connections from a given IP in MFC Pin
CPallini26-Aug-09 22:37
mveCPallini26-Aug-09 22:37 
GeneralRe: Limiting Connections from a given IP in MFC Pin
Rajesh R Subramanian26-Aug-09 23:09
professionalRajesh R Subramanian26-Aug-09 23:09 
QuestionRe: Limiting Connections from a given IP in MFC Pin
David Crow26-Aug-09 6:03
David Crow26-Aug-09 6:03 

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.