🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by Nicola Fumai Thu, 13 Dec 1990 15:33
Help with WinMessageBox!
#1702
Author: Nicola Fumai
Date: Thu, 13 Dec 1990 15:33
32 lines
1957 bytes
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
Re: Help with WinMessageBox!
#1708
Author: lsalomo
Date: Fri, 14 Dec 1990 17:22
12 lines
950 bytes
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."
=============================================================================
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