Original Post
Hello I just wondering if this would be "acceptable" or if there is a better way of doing it. I want to make my game more event driven then state based, and i was wondering if i can add custom message to the windows message cue i was thinking of doing it this way i would post a message using ( PostMessage(WM_COMMAND, MY_COMMAND) ) and process it in the main message function. MY_COMMAND being one of my own types The reason that I want to process the messages in the main message function is that I also am interested in the other commands like WM_PAINT and so on. Is this "acceptable" way of doing things or should I make my own message que for my messages?? PS. if I asked this question in a Bad Way, tell me so I know for next time.