MaxWinAPI – a review of this awesome DLL for GameMaker

Let’s face it, when it comes to the Windows API, Game Maker is lacking in many areas. But the developer(s) of Game Maker were well aware of that, and that’s why they put in their software the ability to call functions from an external DLL.

There are many DLLs out there, some of them more awesome than others, but one that I think stands out is Hobble Software‘s MaxWinAPI DLL. This DLL gives you access to all sorts of Windows API functions, including tabs, textboxes, buttons, progress bars, combo boxes, tables, etc. Are there downsides? Absolutely. The biggest is that because of the way Game Maker draws on its windows the APIs will not refresh properly, and will look bad. The solution of course is that the DLL includes a function to create its own windows, where everything works as intended.

Tabbing between controls doesn’t seem to work either, and the MaxWinAPI windows do not respond to GameMaker keypress “Events”. Nevertheless, it will respond perfectly to keyboard_check_direct() events placed in the Step event. Remember if you are using a letter, (ie. “everything they press ‘C’) you need to use ord(). For example

if(keyboard_check_direct(ord('C')))
{
show_message("C has been pressed");
}

The DLL is also not documented very well, so make sure to view the provided examples and study them carefully. Furthermore, you may like to know that work on MaxWinAPI2 is underway and that it is much better documented.

Plus remember there’s a great community who will be more than willing to help out with any questions you may have.

Good luck!

Roman

2 Responses to “MaxWinAPI – a review of this awesome DLL for GameMaker”

  1. Welcome to buy Casual Says:

    Have you ever thought about publishing an ebook or guest authoring on other blogs? I have a blog based on the same subjects you discuss and would love to have you share some stories/information. I know my viewers would value your work. If you’re even remotely interested, feel free to shoot me an e mail.

  2. www.b1-tc.com Says:

    ‘Learning we pre-qualified for the Welcome Home Illinois program really opened the door
    to the possibility of homeownership for us.
    Some down payment assistance organizations have
    a list of homes for sale from which the buyer may choose to own a home.

    Ask how your credit history affects the price of your loan and what you would need to do to get a better
    price. Same goes for the water bills you’ll pay to maintain a pristine landscape.
    You will also be required to find out how much money you need to put as down payment for your home.
    Prices are just about as low as they are going to go, mortgage money
    is cheap, and government incentive programs are still in place – at least for the time being – that make
    it the best time for buying a home that a Chicago first time home buyer is likely ever going to see.

Leave a Reply