fasecero Posted October 30, 2018 Share Posted October 30, 2018 Hello, I've bought the professional edition of Leadwerks and I'm starting with the help file. I can see that the first step is to create a Window object and assign to it a Context object where everything its drawn. I am a Windows winapi programmer and I would like to know if I can redirect the rendering from the Leadwerks Context object to a GDI device context (HDC) so I can render the output in a custom window created by me or in anywhere else where I want to render the content. If this isn't possible I am at the wrong place. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Josh Posted October 30, 2018 Share Posted October 30, 2018 You actually can. It's not part of the official API but there is a command that creates a custom window based on a HWND you provide. This is how the editor works. If you check Window.win32.h you will find the command. Note this means you are responsible for all window and keyboard input / events. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.