Thread View: comp.sys.mac.oop.macapp3
1 messages
1 total messages
Started by DATEC A/S,STORAS,NO,IVC
Fri, 18 Dec 1992 07:04
TPopup problem..
Author: DATEC A/S,STORAS,NO,IVC
Date: Fri, 18 Dec 1992 07:04
Date: Fri, 18 Dec 1992 07:04
38 lines
1688 bytes
1688 bytes
Attn: MacApp3 Technical Support
SentBy: Bjorn Olav Erland
Date 17-12-92
Subject TPopup problem..
From Bjorn Olav Erland
To MacApp3 Technical Support
TPopup problem..
Hi,
I have a problem with getting MA3.0 to make popupmenus.
At first I had only one Popupmenu in a dialog. The popup got its first three
items from a CMNU resource, and the rest of the items was updated at runtime.
The Popup is by the way a list of layers in a CAD program, and the first items
were ( All layers, No Layers, separator line).
All items in the CMNU had command number 0.
This worked fine.
Later I tried to make an equivalent Popup menu to keep a list of systems in
the CAD program, and installed this into the same dialog.
I then got a Failure in TPopup.CreateCMgrControl, during viewcreation. The
defproc does NOT make its datastructure..
// Need to signal failure if the CDEF's private storage couldn't be created
-- this is
// most likely due to a missing MENU or CMNU resource with fMenuID.
FailNIL((*aCMgrControl)->contrlData);
I have checked the resource map and the CMNU exists with the correct ID= 130.
Could someone give me a clue to what is wrong here?? It seems like the error
occurs when I have got more than one popup in the dialog.
Regards
Bjorn Olav Erland
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