Hi
Is there possibly a clean and simple example of implementing a draggable region with CEF 3 (C++)? I cannot find that much on it but anything I can find happens to be quite messy and or unclear... I am left not able to understand how to go about implementing it. Sadly the docs on the BitBucket page does not have a section dedicated to this feature.
I am trying to make a movable window. I've removed the Win32 title-bar and re-made my own equivalent on the browser document, now all I need to do is support moving the window by dragging on the HTML container. I used to use a method which involved a call to ReleaseCapture and SendMessage but this no longer works when using CEF (e.g. JavaScript back to C++ with the V8 handler support for the on-drag event) and I have also tried sub-classing the browser window to handle a message and return HTCLIENT for WM_NCHITTEST but this did nothing.
What is the best way to accomplish this and is there any good example/documentation for achieving this?
~ Thank you ~