Click here to Skip to main content
15,894,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to disable double click event on a button. Pin
Code-o-mat20-Nov-08 2:00
Code-o-mat20-Nov-08 2:00 
GeneralRe: how to disable double click event on a button. Pin
Rajesh Katalkar23-Nov-08 7:58
Rajesh Katalkar23-Nov-08 7:58 
AnswerRe: how to disable double click event on a button. Pin
Alan Balkany20-Nov-08 3:40
Alan Balkany20-Nov-08 3:40 
GeneralRe: how to disable double click event on a button. Pin
PJ Arends20-Nov-08 9:44
professionalPJ Arends20-Nov-08 9:44 
GeneralRe: how to disable double click event on a button. Pin
Alan Balkany20-Nov-08 9:46
Alan Balkany20-Nov-08 9:46 
GeneralRe: how to disable double click event on a button. Pin
PJ Arends20-Nov-08 11:27
professionalPJ Arends20-Nov-08 11:27 
AnswerRe: how to disable double click event on a button. Pin
Rajesh Katalkar23-Nov-08 7:47
Rajesh Katalkar23-Nov-08 7:47 
AnswerRe: how to disable double click event on a button. Pin
sdc3954-Aug-11 2:28
sdc3954-Aug-11 2:28 
How about simply removing the double click style from the window's class?

BOOL YourButtonClass::PreCreateWindow(CREATESTRUCT &cs)
{
   WNDCLASS wndClass = { 0 };

   GetClassInfo(NULL, cs.lpszClass, &wndClass);

   wndClass.style &= ~CS_DBLCLKS;
   wndClass.lpszClassName = _T("BUTTON-DBLCLKS");

   if (AfxRegisterClass(&wndClass))
   {
      cs.lpszClass = wndClass.lpszClassName;
   }

   return __super::PreCreateWindow(cs);
}

QuestionGetting Pre-Build Event error. Pin
Davinder Pal Singh20-Nov-08 0:05
Davinder Pal Singh20-Nov-08 0:05 
AnswerRe: Getting Pre-Build Event error. Pin
Code-o-mat20-Nov-08 0:12
Code-o-mat20-Nov-08 0:12 
QuestionHow to place a button control over a picture control or some other control Pin
manoharbalu19-Nov-08 23:51
manoharbalu19-Nov-08 23:51 
AnswerRe: How to place a button control over a picture control or some other control Pin
Code-o-mat20-Nov-08 0:09
Code-o-mat20-Nov-08 0:09 
AnswerRe: How to place a button control over a picture control or some other control Pin
Chandrasekharan P20-Nov-08 0:24
Chandrasekharan P20-Nov-08 0:24 
QuestionRound Corner ComboBox VC 7.1 Pin
Rathore Amit19-Nov-08 23:04
Rathore Amit19-Nov-08 23:04 
AnswerRe: Round Corner ComboBox VC 7.1 Pin
SandipG 19-Nov-08 23:19
SandipG 19-Nov-08 23:19 
GeneralRe: Round Corner ComboBox VC 7.1 Pin
Rathore Amit19-Nov-08 23:29
Rathore Amit19-Nov-08 23:29 
GeneralRe: Round Corner ComboBox VC 7.1 Pin
Alan Balkany20-Nov-08 3:52
Alan Balkany20-Nov-08 3:52 
QuestionInclusion of header files Pin
Taruni19-Nov-08 23:01
Taruni19-Nov-08 23:01 
AnswerRe: Inclusion of header files Pin
CPallini19-Nov-08 23:43
mveCPallini19-Nov-08 23:43 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 0:09
Taruni20-Nov-08 0:09 
QuestionRe: Inclusion of header files Pin
CPallini20-Nov-08 0:29
mveCPallini20-Nov-08 0:29 
AnswerRe: Inclusion of header files Pin
Taruni20-Nov-08 0:42
Taruni20-Nov-08 0:42 
GeneralRe: Inclusion of header files Pin
CPallini20-Nov-08 0:53
mveCPallini20-Nov-08 0:53 
GeneralRe: Inclusion of header files Pin
Taruni20-Nov-08 1:05
Taruni20-Nov-08 1:05 
AnswerRe: Inclusion of header files Pin
krmed20-Nov-08 0:56
krmed20-Nov-08 0:56 

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.