Thread View: comp.windows.ms.programmer
1 messages
1 total messages
Started by Y. Lan
Thu, 30 Jul 1992 12:51
EndDialog(...) problems, please help.
Author: Y. Lan
Date: Thu, 30 Jul 1992 12:51
Date: Thu, 30 Jul 1992 12:51
23 lines
1304 bytes
1304 bytes
Hi! My honourable friends: Can anybody out there can tell me under what circumstances the EndDialog procedure will fail? The story is: I compiled and linked the programme listed on P548 (Chapter 10, dialogbox) of Petzold's book 'Programming Windows', e.g. the file dialog box subroutines. Compile ank link ok. When I run it, I clicked the OK button, my Windows goes hung! (I clicked the Cancel button, it works well). I used Turbo debugger (My compiler is Borland C++ 2.0) to trace this programme, every step seems to work well until the programme comes to the EndDialog(hdlg,TRUE), debugger tell me : Exception 13 Error code 532. What's wrong ? I think the Mr. Petzold's programme is ok except the resource file defines the dialog box too small. Please Help ! and I found the DEFPUSHBUTTON does not work, I mean when I press enter, it does not generate a IDOK message. Thank you in advance. Lan
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads