Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    SendMessage() does not exist in COFFEE

    Scheduled Pinned Locked Moved Bugs
    1 Posts 0 Posters 533 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 06/11/2004 at 09:24, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      As I posted in the SDK Forum and confirmed by samir, the SendMessage() method of the GeDialog Class does not exist as mentioned in the documentation.

      Samplecode:

        
      class SomeDialog:GeModalDialog {  
           public:  
                SomeDialog();  
                CreateLayout();            
                AskClose();  
      }  
      SomeDialog::SomeDialog() {super();}  
      SomeDialog::CreateLayout() {  
           var container = new(BaseContainer);  
           SendMessage(100,container);  
                // arguments are unimportant since sendmessage can't be found  
                // errmsg: variable or function expected  
      }  
      SomeDialog::AskClose() { return FALSE;}  
        
      main() {  
           var d = new(SomeDialog);  
           d->open(-1,-1);  
      }  
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post