Loose Ends #
icon mangler: I moved the closing function from the HandleFileChoice function to the class, so that it's much neater. I also wrote another function for my commonfunctions.c file, ToggleMenuItem. This, as it's name suggests, takes a menu & item name as its parameters, and disables/enables it based on its current state. Previously I had to get the menu handle and use Enable/DisableItem, but now the code is much neater. I've also changed the call for creating the new editor window from NewWindow to NewCWindow, which will prevent some problems that I might have in the future when I'm trying to draw within it.
Post a Comment