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

    Free Plugin & Code for handling windows in C4D

    General Discussion
    0
    1
    292
    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
      Helper
      last edited by

      On 06/10/2013 at 16:27, xxxxxxxx wrote:

      Hi C++ developers.
      A very common question we get here is "How do I close a window in C4D".
      And we've been told that the SDK can't do that. And that it has to done through the OS.
      So I took a little trip into Windows OS programming this past week. And I've figured out how to close, min., move, and scale specific windows inside of C4D with it.

      This was my first attempt at Windows OS programming. So it took me a good amount of searching to figure this all out.
      So I'm posting this plugin example with the source code to help other C4D developers learn it a bit easier and faster than the way I did it.

      The plugin is for Windows users only.
      Please, please, please read the manual before using it. It's only two pages long with large type.
      And please do not share this with non-developers. Since this is basically a complete hack job to force the windows to do your bidding in C4D. And not something that MAXON supports.
      It's only meant to be used as a learning example for developers to play around with and learn from.
      It's probably not a good idea to do this type of thing your commercial projects.

      The plugin is called "Window Manipulator".
      And it can be downloaded from here:https://sites.google.com/site/scottayersmedia/plugins

      -ScottA

      1 Reply Last reply Reply Quote 0
      • First post
        Last post