nick@celeborn.McRCIM.McGill.EDU (Nicola Fumai) (12/13/90)
Background: I am using OS/2 1.2 EE, with IBM OS/2 1.2 Toolkit, and MSC 6.00. I was modifying the hexcalc program from chapter 14 of the Petzold `Programming the PM' book, in order to incorporate DDE (Dynamic Data Exchange). During processing of the DDE message `WM_DDE_INITATE' I was using a WinMessageBox to print a message on the screen saying that the DDE message was indeed received. The problem is that after the WinMessageBox is created, it doesn't want to go away, and in fact hangs the system. Pressing the OK or cancel buttons does nothing, and even the OS window which claims that the application is not responding to system requests...(enter to kill etc.) does nothing. I tried using Codeview to see what was going on, but couldn't get past the line which creates the WinMessageBox. The manuals claim that when opening a MessageBox while a DialogBox (ie. the hexcalc calculator) is still present, the owner should be the Dialog's frame window. This I have done, and I have tried setting the MessageBox parent to HWND_DESKTOP, the dialog's client window, and the dialog's frame window, none of which work...it always hangs. Any ideas why this is happening? Is it a 1.2 bug? feature? Or is MSC at fault? please email a reply...I'll post a summary if necessary. nick ---- INET: nick@mcrcim.mcgill.edu nick@larry.mcrcim.mcgill.edu UUCP: ...!mcgill-vision!nick
lsalomo@hubcap.clemson.edu (lsalomo) (12/15/90)
Could you post the code in question? I would like to see the surrounding code and the actual call. Better make it quick, tho...Tomorrow will probably be the last time I can post (more on this later). Cheers, Q - the "Q"uestor for knowledge (, a degree, etc.) lsalomo@hubcap.clemson.edu ibmman@clemson.clemson.edu ============================================================================= "Gee Wally, I think there's something wrong with the Beaver." =============================================================================
lsalomo@hubcap.clemson.edu (lsalomo) (12/16/90)
Well, guys, this is the last post from me. I *might* check it again on Wednesday night (graduation eve), but I'll probably be drunk on champagne and won't be able to think coherently. With any luck, I'll start posting again from IBM (David and Oleg, watch out! Here I come again!!! ;) , so look for the Q around January 14! Cheers, Q - the "Q"uestor for knowledge (, a degree, etc.) lsalomo@hubcap.clemson.edu ibmman@clemson.clemson.edu ============================================================================= "Gee Wally, I think there's something wrong with the Beaver." =============================================================================