Activity for Win32++

  • David David committed [r2785] on Code

  • David David committed [r2784] on Code

  • David David committed [r2783] on Code

  • David David committed [r2782] on Code

    Updated samples. Converted TCHAR to Unicode.

  • David David committed [r2781] on Code

  • David David committed [r2780] on Code

  • David David committed [r2779] on Code

  • David David committed [r2778] on Code

  • David David committed [r2777] on Code

    CDC, CGDIObject, CImageList and CMenu now use std::shared_ptr.

  • David David committed [r2776] on Code

  • David David committed [r2775] on Code

  • David David committed [r2774] on Code

  • David David committed [r2773] on Code

  • David David committed [r2772] on Code

  • David David committed [r2771] on Code

  • David David committed [r2770] on Code

  • David David committed [r2769] on Code

    Replaced Shared_Ptr with std::unique_ptr and std::shared_ptr.

  • David David created a blog post

    Version 9.6.1 Released

  • Win32++ Win32++ released /Win32++/Version 9.6.1/Win32xx961.zip

  • David David committed [r2768] on Code

    Version 9.6.1

  • David David committed [r2767] on Code

  • David David committed [r2766] on Code

    Updated Docker samples.

  • Win32++ Win32++ released /Win32++/Version 9.6/Win32xx960.zip

  • David David committed [r2765] on Code

    Minor update to MovieShow and Splitter samples.

  • Win32++ Win32++ updated /Win32++/Version 9.6/Win32xx960.zip

  • David David committed [r2764] on Code

  • David David created a blog post

    Version 9.6 Released

  • Win32++ Win32++ released /Win32++/Version 9.6/Win32xx960.zip

  • David David committed [r2763] on Code

  • David David committed [r2762] on Code

    Version 9.6

  • David David committed [r2761] on Code

  • David David committed [r2760] on Code

  • David David committed [r2759] on Code

  • David David committed [r2758] on Code

  • David David committed [r2757] on Code

    Add support for Embarcadero C++ Builder 11 CE

  • Eros Olmi Eros Olmi posted a comment on discussion Help

    oops, sorry my fault. Found under Code menu. Will test during week-end thanks

  • Eros Olmi Eros Olmi posted a comment on discussion Help

    Ciao, I've downloaded latest ZIP 9.5.2 but I cannot find a ScintillaDemo sample

  • David David committed [r2756] on Code

  • David David posted a comment on discussion Help

    Other options are as follows: // Assuming hView is the HWND of your non Win32++ view window ... HWND hContainer = ::GetParent(::GetParent(hView)); LRESULT result = ::SendMessage(hContainer, UWM_GETCDOCKCONTAINER, 0, 0); CDockContainer* pContainer = reinterpret_cast<CDockContainer*>(result); // or ... CDockContainer* pContainer = static_cast<CDockContainer*> (GetCWndPtr(::GetParent(::GetParent(hView)))); assert (dynamic_cast<CDockContainer*>(pContainer)); // Verify in debug mode. pContainer->SetDockCaption(L"***...

  • David David committed [r2755] on Code

    Replace MIN and MAX with std::min and std::max.

  • David David posted a comment on discussion Help

    Hi ioannis, The container stays with its docker even when dockers and containers are rearranged. A view also stays with its container. Assuming the docker has an ID you can do something like this: CDocker* pDocker = GetDockFromID(ID_DOCK_OUTPUT2); if (pDocker) { CDockContainer* pContainer = pDocker->GetContainer(); pContainer->SetDockCaption(L"***New Caption Text***"); pContainer->SetTabText(L"*** Tab Text ***"); pContainer->SetTabIcon(IDI_CLASSVIEW); } Alternatively you could store the docker's...

  • ioannis ioannis modified a comment on discussion Help

    Hi David, Thank you very much for the update and the quick response. With regards to the SetDockCaption() if the text contains an ampersand &, this is transalated to an underscore _ like the menus... I consider this is not the intended behavour here. With regards to the SetTabText, this works only when SetOwnerDraw(TRUE) otherwise the new text is not taken into account. With regards to theCDocker::CDockClient i had to expose GetDocker in order to get the docker CDocker* GetDocker() { return m_pDocker;...

  • ioannis ioannis posted a comment on discussion Help

    Hi David, Thank you very much for the update and the quick response. With regards to the SetDockCaption() if the text contains an ampersand &, this is transalated to an underscore _ like the menus... I consider this is not the intended behavour here. With regards to the SetTabText, this works only when SetOwnerDraw(TRUE) otherwise the new text is not taken into account. With regards to theCDocker::CDockClient i had to expose GetDocker in order to get the docker CDocker* GetDocker() { return m_pDocker;...

  • David David committed [r2754] on Code

  • David David posted a comment on discussion Help

    Hi ioannis, I've updated the CDockContainer code to support the dynamic updating of the dock container's tab text, tab icon and caption. You can download the latest snapshot from the Code section here on SourceForge. Best regards, David

  • David David committed [r2753] on Code

    Updated CDockContainer.

  • David David posted a comment on discussion Help

    Hi Eros, I've added a ScintillaDemo sample. You can download the lastest snapshot from the files section on SourceForge. Best regards, David

  • David David committed [r2752] on Code

    Added ScintillaDemo sample.

  • ioannis ioannis posted a comment on discussion Help

    Hi David, I am trying to change the docker caption (docked and undocked) and the dock container tab text dynamically from within the view after creation (ie. think of the DockContainer sample, CViewClasses view, to change the above texts, depending on the view selection) Inspecting CDockContainer::SetTabText() and CDockContainer::SetDockCaption(), these functions set the new value to a class member variable which is only used during the creation or possible during undock and redock, but are not applied...

  • David David committed [r2751] on Code

  • David David posted a comment on discussion Help

    Hi Robert, Yes I would be happy to help you with the code. You can contact me directly via the email address listed in the copyright section of the code. In regard to the requirements you mentioned: Fixing the width of the first column should be made possible handling list-view HDN_TRACK notifications. Selecting multiple individual cells isn't supported by the list view control. It should be possible to simulate that by developing code that stores the "selected" cells and renders them with a different...

  • Robert Robert modified a comment on discussion Help

    Hi David, I tried your suggestions. The first one doesn't work well for me. The second one is what I need but way to complex and complicated. I absolutely don't know any MFC, so I'm not able to port it to Win32++. I also found this one: https://www.codeproject.com/Articles/38168/Win32-SDK-Data-Grid-View-Made-Easy. This seems small and portable. But doesn't fulfill my needs completely. Maybe you can help me without crawling down the porting rabbit hole. My list/data grid just has a few points to fulfill:...

  • Robert Robert modified a comment on discussion Help

    Hi David, I tried your suggestions. The first one doesn't work well for me. The second one is what I need but way to complex and complicated. I absolutely don't know any MFC, so I'm not able to port it to Win32++. I also found this one: https://www.codeproject.com/Articles/38168/Win32-SDK-Data-Grid-View-Made-Easy. This seems small and portable. But doesn't fulfill my needs completely. Maybe you can help me without crawling down the porting rabbit hole. My list/data grid just has a few points to fulfill:...

  • Robert Robert modified a comment on discussion Help

    Hi David, I tried your suggestions. The first one doesn't work well for me. The second one is what I need but way to complex and complicated. I absolutely don't know any MFC, so I'm not able to port it to Win32++. I also found this one: https://www.codeproject.com/Articles/38168/Win32-SDK-Data-Grid-View-Made-Easy. This seems small and portable. But doesn't fulfill my needs completely. Maybe you can help me without crawling down the porting rabbit hole. My list/data grid just has a few points to fulfill:...

  • Robert Robert posted a comment on discussion Help

    Hi David, I tried your suggestions. The first one doesn't work well for me. The second one is what I need but way to complex and complicated. I absolutely don't know any MFC, so I'm not able to port it to Win32++. I also found this one: https://www.codeproject.com/Articles/38168/Win32-SDK-Data-Grid-View-Made-Easy. This seems small and portable. But doesn't fulfill my needs completely. Maybe you can help me without crawling down the porting rabbit hole. My list/data grid just has a few points to fulfill:...

  • Robert Robert posted a comment on discussion Help

    Hi David, thanks for your help. I think I'll try the Simple Grid then. I just took a quick look, but I guess giving the grid a handle of a CDocker as a parent will work. Best regards from Germany, Robert

  • Eros Olmi Eros Olmi posted a comment on discussion Help

    Dear David, thanks a lot. I will play with your files having fun to learn something new to me.

  • David David posted a comment on discussion Help

    Hi Eros, Thanks for the suggestion to create a sample demo using Scintilla. I'll give it some thought. In the meantime attached a very simple Scintilla view. It can be used as the view window for a frame, MDI child, docker, tab etc. The parent window will need to resize the Scintilla view when it resized. Best regards, David

  • David David posted a comment on discussion Help

    Hi Robert, A list-view control has an internal header control. This is used to resize columns when the list-view uses the LVS_REPORT window style. When the user drags a divider in the header control, the header control sends a HDN_TRACK notification to its parent window, which in this case is the ListView control. When this notification is handled, we can return FALSE to continue tracking the divider, or TRUE to end tracking. The HDN_TRACK notification has a pointer to an NMHEADER structure that...

  • David David committed [r2750] on Code

    Updated CMetaFile, CEnhMetaFile, and the MDI Frame samples.

  • Robert Robert modified a comment on discussion Help

    Hi, I'm coding some type of shift/duty calendar. For this I need a ListView which has a fixed first column for all the names of the co-workers. I tried to follow your custom control sample and this CodeProject tutorial. All google searchs just end with the suggestion to use some type of data grid, but all native ones are just C# stuff. But I guess I missed somthing. Best regards from Germany, Robert

  • Robert Robert posted a comment on discussion Help

    Hi, I'm coding some type of shift/duty calendar. For this I need a ListView which has a fixed first column for all the names of the co-workers. I tried to follow your custom control sample and this CodeProject tutorial. All google searchs just ends up with the suggestion to use some type of data grid, but all native ones are just C# stuff. But I guess I missed somthing. Best regards from Germany, Robert

  • Eros Olmi Eros Olmi modified a comment on discussion Help

    Dear David have you ever considered to create a sample demo on using Scintilla control and Win32++? https://www.scintilla.org/ I develop a programming language called thinBasic and I'm considering porting it into C++. It is a quite big project developed starting since 2004 and I need a start. More info at https://www.thinbasic.com/ I've developed my own editor called thinAir using Scintilla and because I'm not very confident with C++ (always being a BASIC programmer) I was thinking that starting...

  • Eros Olmi Eros Olmi posted a comment on discussion Help

    Dear David have you ever considered to create a sample demo on using Scintilla control and Win32++? https://www.scintilla.org/ I develop a programming language called thinBasic and I'm considering porting it into C++. It is a quite big project developed starting since 2004 and I need a start. More info at https://www,thinbasic.com I've developed my own editor called thinAir using Scintilla and because I'm not very confident with C++ (always being a BASIC programmer) I was thinking that starting from...

  • David David created a blog post

    Version 9.5.2 Released

  • Win32++ Win32++ released /Win32++/Version 9.5.2/Win32xx952.zip

  • David David committed [r2749] on Code

    Release 9.5.2

  • David David committed [r2748] on Code

    Eliminated jitter in the docking samples.

  • David David committed [r2747] on Code

  • David David committed [r2746] on Code

  • David David committed [r2745] on Code

  • David David committed [r2744] on Code

  • David David committed [r2743] on Code

  • David David committed [r2742] on Code

  • David David committed [r2741] on Code

  • David David committed [r2740] on Code

    Updated CFrameT

  • David David committed [r2739] on Code

  • David David committed [r2738] on Code

  • David David committed [r2737] on Code

    Updated CTime

  • David David committed [r2736] on Code

  • David David committed [r2735] on Code

  • David David committed [r2734] on Code

    Updated CString

  • Sergio Ferrari Sergio Ferrari posted a comment on discussion Help

    Thank you David for the suggestions!

  • David David posted a comment on discussion Help

    Hi Sergio, The code in the wxx_metafile.h files and the wxx_shared_ptr.h files is the same in version 9.5.0 and 9.5.1. If you replace Shared_Ptr with std::shared_ptr in the wxx_metafile.h, you will also need to modify the code in the constructors as follows: inline CEnhMetaFile::CEnhMetaFile() { // m_pData = new CEnhMetaFile_Data; m_pData = std::make_shared<CEnhMetaFile_Data>(); // <= Use this } // A private constructor used by CEnhMetaFileDC. inline CEnhMetaFile::CEnhMetaFile(HENHMETAFILE enhMetaFile)...

  • Sergio Ferrari Sergio Ferrari posted a comment on discussion Help

    In the two classes CMetaFile andCEnhMetaFile, respectively, I added the following lines: std::shared_ptr<CMetaFile_Data> m_pData; and std::shared_ptr<CEnhMetaFile_Data> m_pData; (and of course I commented out: // Shared_Prt<CMetaFile_Data> m_pData; and // Shared_Prt<CEnhMetaFile_Data>) Compiling with MinGW GCC (13.2) I get the following error. ..\..\include\wxx_metafile.h|141|error: no match for 'operator=' (operand types are 'std::shared_ptr<Win32xx::CMetaFile::CMetaFile_Data>' and 'Win32xx::CMetaFile::CMetaFile_Data*')|...

  • David David posted a comment on discussion Help

    Hi Sergio, What is the error and where does it occur? Best regards, David

  • David David committed [r2733] on Code

    Updated CString, and code tidy up.

  • Sergio Ferrari Sergio Ferrari posted a comment on discussion Help

    Hi David, there is some error in wxx_metafile.h using std::shared_ptr everywhere in the library (9.5.1 version). The error ripples through the compilation of all the examples. In version 9.5.0 everything worked.

  • Win32++ Win32++ updated /Win32++/Version 9.5.1/Win32xx951.zip

  • David David committed [r2732] on Code

  • David David created a blog post

    Version 9.5.1 Released

  • Win32++ Win32++ released /Win32++/Version 9.5.1/Win32xx951.zip

  • David David committed [r2731] on Code

  • David David committed [r2730] on Code

  • David David committed [r2729] on Code

    Version 9.5.1

  • Win32++ Win32++ updated /README.txt

  • David David committed [r2728] on Code

  • David David committed [r2727] on Code

  • David David committed [r2726] on Code

  • David David committed [r2725] on Code

1 >