Thank-you. I very appreciate your work. I did an own painted menu, where I use self painted buttons in the color of the background and then I open popup menues just under the button.
But it seems, this is the old code fpm 2019. Sebastian Ledesma updated the demo last year, because my questions about issues with flickering when resizing. https://sourceforge.net/p/owlnext/discussion/97175/thread/7834cfef2c/#e121
Thank-you for your research. I think the quick and dirty solution is aceptable for me.
Hi Mohsen, I tried to download the new WM_NC_Demo, but getting a 404 Error page. I would appreciate to check out the demo, because I'm working on the custom frames themes.
Hello, it seems the function SetTextColor() doesn't change the color of TRadioButton and TCheckBox. SetWindowFont and SetBkgndColor works fine. Is this because the control is more like a button than a Label or Edit?
There is e new question with the custom frames. If I extend the frame to the top border of the MainWindow or change the height of the title bar, then the Window-Menu (TMenu) is eiher not shown or at wrong place. So, is it possible to change the start position of the TMenu? The position of TControlBar and the ClientWnd I could set with MoveWindow in the EvSize function: TRect rcClient; GetClientRect(rcClient); ControlBar->MoveWindow(1, 51, rcClient.Width() - 2, 48, true); ClientWnd->MoveWindow(1,...
Yes, you are right. Comparing the MFC example with my OWL project showed my misunderstanding. Using the EV_PAINT instead of EV_NCPAINT helped much with the border issue and shadow. Thank you for your assistance.
After a while and many failures, I couldn't use the available functions of OWLNext to create a custom frame. The example from Sebastian Ledesma is only for thick borders. If you try to make a thin 1px border the window border has an unpainted and non transparent frame or the frame is so thin, you barelay can't grab it with the mouse to resize the window. Also, the window has painting errors while resizing the frame quckly and there is no shaddow painted. It would be great to have the possibilites...