Extend Client Area - Windows - Custom Frame/Chrome

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: Extend Client Area - Windows - Custom Frame/Chrome

Postby damo » Fri Jan 10, 2014 6:57 pm

The reason I want the non client area is so that I can still send caption messages and resize the window like normal but be able to draw my own title bar and borders. I have played around with it in every way I could possibly think and searched everywhere and posting here was my last resort. Its seeming like its not able to be done and I'll just have to either deal with having the standard windows frame or simulate basic window moving and resizing via calls from JavaScript to c++. Thanks for your help looking Into to it though
damo
Newbie
 
Posts: 8
Joined: Thu Jan 09, 2014 3:40 am

Re: Extend Client Area - Windows - Custom Frame/Chrome

Postby magreenblatt » Fri Jan 10, 2014 7:14 pm

The (good) options can basically be summarized as follows:

1. Keep the non-client area and render it yourself by using C++ code to handle WM_NC* messages.
2. Lose the non-client area and handle resizing yourself in C++ code using hooks.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 215 guests