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...
Hello Jogy, thanks for your reply. This demo is awesome and solves every question I had. This should also be part of the example folder of OWL 7. Thien
Hello, many actual software as Excel, Visual Studio and Browsers have customized window frames. My question is, has someone examples or knows how to - change the color of the title bar and frame border of a window - Place buttons and icons into the window title bar - Center the caption in the window title bar with OWLNext. Best regards, Thien
Hello, many actual software as Excel, Visual Studio and Browsers have customized window frames. My question is, has someone examples or knows how to - change the color of the title bar and frame border of a window - Place buttons and icons into the window title bar - Center the caption in the window title bar Best regards, Thien
There is another problem with void SetFileFilter(LPCTSTR); It seems not to be implemented in the doctpl.cpp file, it's only part of the header doctpl.h.
Hi again, it's still the same issue. I think it is a bug with the check between FilterIndex and tplcount. Maybe tplcount has to be 1, because there is one Template to handle the file. But it can have multiple file extensions. So FilterIndex can be other than 1. So the check could be obsolete. CHECK(data.FilterIndex <= tplcount); The example "Report (.rep;.result)" and the filter to ".rep;.result" works, but what if I want to allow a filter, so only a specific file type is visible? Like: Reports (.rep;.result)...
Thank-you for the answers! It occures when loading. The CHECK function only opens a warning message, the program can continue without problems and opens the selected file with the alternative extension. When making a release-compile, no message appears, so I could ignore it, but I think it's not correct.
Thank you for the answers. It occures when loading. The CHECK function only opens a warning message, the program can continue without problems and opens the selected file with the alternative extension. making e release-compile no message appears.
Hi, it seems, there is a problem if using a file dialog with multiple file types. I'm using a Template for the DocManager like: TDocTemplate ReportTemplate = new reportTemplate("Report (.rep)|.rep|Result (.result)|*.result", "", 0, "", dtAutoDelete | dtHideReadOnly | dtOverwritePrompt | dtSingleView | dtUpdateDir); If I select the second type in the dialog there occures an error: Check failed in "docmanag.cpp" at line 1450: data.FilterIndex <= tplcount It comes from this: CHECK(data.FilterIndex <=...
Thanks for your efforts, it's a great library!
Thank you Vidar! I will use the workaround until switching to OWLNext 7 in the future.
Hello all! This is not a real problem, but I also would like to post it here. For showing jpg and png pictures, I added the ATL-Class library <atlconv.h> into my project to use the class CImage. This works very well. But now I have 3 warnings, because some makros are redefinied in <atlconv.h>: USES_CONVERSION A2W W2A These are defined in the owl\memory.h My question is now, may owlnext use other names for these makros? Thanks and gretings, Thien
Hello all! This is not a real problem, but I also would like to post it here. For showing jpg and png pictures, I added the ATL-Class library <atlconv.h> into my project to use the class CImage. This works very well. But now I have 3 warnings, because some makros are redefinied in <atlconv.h>: USES_CONVERSION A2W W2A These are definied in the owl\memory.h My question is now, may owlnext use other names for these makros? Thanks and gretings, Thien
Hello, just tried owlnext-code-3823-trunk and became an error calling TAnimateCtrl::Open(LPCTSTR res, TModule* module) without module parameter: AnimateModulation->Open(path); because it calls the following code in animctrl.cpp: bool TAnimateCtrl::Open(LPCTSTR res, TModule* module) { return SendMessage(ACM_OPEN, TParam1(module->GetHandle()), TParam2(res)) != 0; } and module is 0! Best regards, Thien
Hi Vidar, that works. Thank-you. Because there are many different doc-view in my...
Hello, in my project all windows have the new look of Windows 10 except those created...
Hello, maybe this question is already answered somewhere on this site, but I don't...
Hi, finaly there is a solution. It's a combination of different code fragments from...
Hi, finaly there is a solution. It's a combination of different code fragments from...
Hi, finaly there is a solution. It's a combination of different code fragments from...
Hello Vidar, thank you for the link, but unfortunately I was not able to solve it...
Hello, is it possible to change the background color of a TTabControl? I use only...
Great example. It worked well. Thank you!
The post above is from me. I forgot to log in.
The post above is from me.
Hello Vidar, thank you for the quick answer and the recommendation. I have now the...
Hello Vidar, thank you for the quick answer and the recommendation. I have now the...
Sorry, I found it: virtual int Compare(LPARAM item1, LPARAM item2, LPARAM lParam)...
Hello, has someone an easy example how to implement an own sort function for the...
This is now embarrassing. It was really solved with owl::TWindow. And the cause is...
Hello, trying to transfer my Borland 5.02/OWL 6.2 projects to Visual Studio 2013/OWL...
Thanks. I did my own progress bar with some smooth color. Special for my needs, like...
Hello, there are many styles for the TGauge object which can be used, but the optically...
Hi specialists, after some work I managed to make the old source codes running with...
Oh great, the Wiki works now. But there ist an important section for me that isn't...
Ah, OK, so it will be hopefully soon fixed. I just had the necessary energy to finally...
Hi everyone, unfortunately this website doesn't work. When I click on different links...