davidbeynon
Registered
Hi,
I am porting a simple app to MacOS at the moment. It is a command line program which needs a single window for output.
At the moment I have a test harness which does the following:
I have created a window with CreateNewWindow (document class, standard attributes).
Then I make it visible.
Then I install the standard event handler and add my own handler for mouse events.
Finally I run a simple event loop which dispatches events to the window.
The window is appearing and my mouse click handler is being called, but for some reason it is impossible to give the window focus or move it. I was under the impression that the standard event handler took care of that.
Am I missing something obvious?
I am porting a simple app to MacOS at the moment. It is a command line program which needs a single window for output.
At the moment I have a test harness which does the following:
I have created a window with CreateNewWindow (document class, standard attributes).
Then I make it visible.
Then I install the standard event handler and add my own handler for mouse events.
Finally I run a simple event loop which dispatches events to the window.
The window is appearing and my mouse click handler is being called, but for some reason it is impossible to give the window focus or move it. I was under the impression that the standard event handler took care of that.
Am I missing something obvious?