Click here to Skip to main content
15,908,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Spy TCP Pckts Pin
kaschimer20-Jan-03 3:55
kaschimer20-Jan-03 3:55 
GeneralCWND from dialog box Pin
Baatezu19-Jan-03 19:31
Baatezu19-Jan-03 19:31 
GeneralRe: CWND from dialog box Pin
Daniel Strigl19-Jan-03 20:13
Daniel Strigl19-Jan-03 20:13 
GeneralRe: CWND from dialog box Pin
Baatezu19-Jan-03 20:21
Baatezu19-Jan-03 20:21 
GeneralRe: CWND from dialog box Pin
Daniel Strigl19-Jan-03 20:35
Daniel Strigl19-Jan-03 20:35 
GeneralRe: CWND from dialog box Pin
Michael Dunn19-Jan-03 20:39
sitebuilderMichael Dunn19-Jan-03 20:39 
GeneralRe: CWND from dialog box Pin
Rage19-Jan-03 20:28
professionalRage19-Jan-03 20:28 
GeneralPush Button Behaviour .. Pin
Quek Khoo Boon19-Jan-03 19:05
Quek Khoo Boon19-Jan-03 19:05 
Hi :

This must be easy for some ... but I am having trouble getting it to work.

My project is a dialog form, and it has only 1 button - IDC_BUTTON1.

The following are codes associated :

void CYDlg::OnButton1()
{
// TODO: Add your control notification handler code here
AfxMessageBox("Single Click") ;
}

void CYDlg::OnDoubleclickedButton1()
{
// TODO: Add your control notification handler code here
AfxMessageBox("DoubleClicked") ;
}

Clearly, if I click on the button or twice, it should show the appropriate messag. However, I am always only getting "Single Click" no matter how many clicks I try.

Am I missing something ?

TIA. Dead | X|
GeneralRe: Push Button Behaviour .. Pin
Michael Dunn19-Jan-03 19:22
sitebuilderMichael Dunn19-Jan-03 19:22 
GeneralRe: Push Button Behaviour .. Pin
Quek Khoo Boon19-Jan-03 19:26
Quek Khoo Boon19-Jan-03 19:26 
GeneralRe: Push Button Behaviour .. Pin
Michel Wassink19-Jan-03 19:46
Michel Wassink19-Jan-03 19:46 
GeneralRe: Push Button Behaviour .. Pin
Quek Khoo Boon19-Jan-03 20:04
Quek Khoo Boon19-Jan-03 20:04 
GeneralRe: Push Button Behaviour .. Pin
Michel Wassink19-Jan-03 22:11
Michel Wassink19-Jan-03 22:11 
Generalload bitmaps from hard drive!!!!!!!!!!! Pin
xxhimanshu19-Jan-03 18:07
xxhimanshu19-Jan-03 18:07 
GeneralRe: load bitmaps from hard drive!!!!!!!!!!! Pin
Michael Dunn19-Jan-03 18:30
sitebuilderMichael Dunn19-Jan-03 18:30 
GeneralTAPI Reading and Writing data Pin
vin19-Jan-03 17:52
vin19-Jan-03 17:52 
GeneralDebugger not starting up Pin
Paul Farry19-Jan-03 16:19
professionalPaul Farry19-Jan-03 16:19 
Generalmalloc and free Pin
pranavamhari19-Jan-03 15:02
pranavamhari19-Jan-03 15:02 
GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 15:28
protectorChristian Graus19-Jan-03 15:28 
GeneralRe: malloc and free Pin
Chris Losinger19-Jan-03 17:52
professionalChris Losinger19-Jan-03 17:52 
GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 18:01
protectorChristian Graus19-Jan-03 18:01 
GeneralRe: malloc and free Pin
Chris Losinger19-Jan-03 18:36
professionalChris Losinger19-Jan-03 18:36 
GeneralRe: malloc and free Pin
Christian Graus19-Jan-03 18:53
protectorChristian Graus19-Jan-03 18:53 
GeneralRe: malloc and free Pin
Chris Losinger19-Jan-03 19:06
professionalChris Losinger19-Jan-03 19:06 
GeneralRe: malloc and free Pin
pranavamhari19-Jan-03 19:45
pranavamhari19-Jan-03 19:45 

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.