Activity for Win32++

  • David David committed [r3010] on Code

    Updated CArchive and CStringT.

  • David David committed [r3009] on Code

    Updated the documentation for CCriticalSection and CThreadLock.

  • David David posted a comment on discussion Help

    Hi Daniel, Yes there was a bug introduced in the previous update to the code in CTaskDialog::SetFooterIcon in the area you mentioned. That issue has been address in the latest code update. You can download a snapshot of the latest code from the Code section here on SourceForge. Best regards, David

  • David David posted a comment on discussion Help

    Hi Daniel, I like your suggestion of adding the TDF_POSITION_RELATIVE_TO_WINDOW flag to the TaskDialogBox function. With this flag, the TaskDialogBox function emulates the behaviour of MessageBox more precisely. I've updated the TaskDialogBox function accordingly. You can download the latest code snapshot from the Code section here on SourceForge. There is nothing wrong with "hacking" the Win32++ library if that's what you choose to do. It's just that it might be an inconvenience when it comes time...

  • David David committed [r3008] on Code

    Updated CTaskDialog and TaskDialogBox.

  • Daniel Pantea Daniel Pantea posted a comment on discussion Help

    Hi David, would it be possible to let TaskDialogBox accept user flags for direct customization (to avoid indirect CTaskDialog::SetOptions)? Currently I hacked: tc.dwFlags = TDF_POSITION_RELATIVE_TO_WINDOW; but was thinking that would be nice if the user can pass a it as an argument... Thanks, Daniel

  • Daniel Pantea Daniel Pantea posted a comment on discussion Help

    Hi David, TaskDialog samples calls SetFooterIcon(TD_INFORMATION_ICON) and always uses FillString on it, which then fails for this example in my tests. Below works for me, but maybe you find better solution, thanks! // MAKEINTRESOURCE values, including the predefined Task Dialog icon // constants, are encoded integer identifiers rather than string pointers. if (footerIcon == nullptr || IS_INTRESOURCE(footerIcon)) { m_footerIconName.Empty(); m_tc.pszFooterIcon = footerIcon; } else { m_footerIconName...

  • Daniel Pantea Daniel Pantea posted a comment on discussion Help

    This is minor and not sure if repro on all situations. I did build it with MinGW in Windows 10, and when opened from "parent" Explorer window, and then closed, the Explorer move behind the "grandparent", as shown in the images...

  • David David committed [r3007] on Code

    Updated DialogTemplate.

  • David David committed [r3006] on Code

    Updated CToolbar::GetMaxSize.

  • David David committed [r3005] on Code

    Updated Project files

  • David David committed [r3004] on Code

    Updated Project Files

  • David David committed [r3003] on Code

    Updated Project Files.

  • David David posted a comment on discussion Help

    Hi Daniel, Thanks for bringing this to my attention. I've addressed this issue in the latest code update. You can download the latest code snapshot from the code section here on SourceForge, or from GitHub. The same code updates have been made to both repositories. Best regards, David

  • David David committed [r3002] on Code

    Fixed CToolBar::SetButtonText.

  • David David committed [r3001] on Code

    Fixed CStatusBar::SetPartText.

  • Daniel Pantea Daniel Pantea posted a comment on discussion Help

    Hi David, I just tested with almost latest 790bef88239920c7545110650aca010f2af96191 commit from github, Release-build with VS2022 on Win10x64. when Maximize MDI, the min/max/close buttons are not shown until Alt is pressed when pressing Alt an icon appears overlapping the File menu restoring MDI doesn't remove the min/max/close buttons until Alt is pressed Thanks, Daniel

  • David David committed [r3000] on Code

    Added TestCArchive Unit Test.

  • David David committed [r2999] on Code

    Updated CArchive and CDialog.

  • David David committed [r2998] on Code

    Updated the message handling of WM_NCDESTROY for windows, dialogs and propertysheets.

  • udok udok posted a comment on discussion Open Discussion

    Hi David, This helps a lot. I was not shure that the WndProcDefault is always called. Udo

  • David David posted a comment on discussion Open Discussion

    Hi Udo, In Win32++ all unhandled messages for a window should get processed by CWnd::WndProcDefault. That will happen automatically if the class that inherits from CWnd has no WndProc function. It also happens automatically if the class has a WndProc function, and that function passes unhandled messages to WndProcDefault as shown in the samples. All the window controls wrapped by Win32++ (including ListView and TreeView) already do this for us automatically. If we override CListView or CTreeView,...

  • udok udok posted a comment on discussion Open Discussion

    Hi David, This position should work too. I added the fix in StaticWindowProc because it is the last pace in the WinProc handler chain. For subclassed controls (Listiew, Treeview?) it is maybe necessary to call the FinalWindowProc before Cleanup, but i am not shure. Thank you for the bugfix. Best regards, Udo

  • David David posted a comment on discussion Open Discussion

    Hi Udo, Thanks for bring this to my attention. I've addressed both issues in the latest SVN update. This is the code that has been added to CWnd::WndProcDefault to close child windows: case WM_NCDESTROY: { Cleanup(); return 0; } You can download the latest code snapshot from the Code section here on SourceForge. Best regards, David

  • David David committed [r2997] on Code

    Updated CWnd, common dialogs, CSocket and CThreadT.

  • udok udok posted a comment on discussion Open Discussion

    Hi David, When creating a window the hwnd is added to the CWnd map in CWnd::StaticWindowProc when the first window message is received. The linking between the CWnd and the handle is removed when WM_CLOSE is received (OnClose() => Destroy() => ::DestroyWindow() => WM_DESTROY => WM_NCDESTROY) Sometimes child windows get implicitly destroyed when the parent is destroyed. I added a patch to catch this case: // All CWnd windows direct their messages here. This function redirects the // message to the...

  • David David committed [r2996] on Code

    Support update for library files and samples.

  • David David committed [r2995] on Code

    Updated CCriticalSection and CThreadLock

  • David David committed [r2994] on Code

    Updated CFrameT<T>::AddMenuIcon and CTab::AddTabPage

  • David David committed [r2993] on Code

    Updated FrameEx sample. Removed CWebBrowser.

  • David David committed [r2992] on Code

    Updated CPoint, CRect, CSize. Updated Win32++ to support C++ Builder 13 CE.

  • David David committed [r2991] on Code

    Replaced include guards with #pragma once.

  • David David committed [r2990] on Code

    Updated CDC::GradientFill and CRegKey::RecurseDeleteKey

  • David David created a blog post

    Version 10.3.0 Released

  • Win32++ Win32++ released /Win32++/Version 10.3/Win32xx1030.zip

  • David David committed [r2989] on Code

    Bug fix for the DDXDemo sample.

  • David David committed [r2988] on Code

    Version 10.3.0

  • David David committed [r2987] on Code

    Added CProgressBar::GetRange function overload.

  • David David committed [r2986] on Code

    Updated CDateTime, CMonthCalendar, CProgressBar, CListBox, CToolTip

  • David David committed [r2985] on Code

    Updated CListView, CTreeView and the wrappers for other Common Controls.

  • David David committed [r2984] on Code

    Fixed CStatusBar::SetPartText, and updated a few samples.

  • David David committed [r2983] on Code

    Modified CWinApp::UpdateDefaultPrinter. Updated samples.

  • David David committed [r2982] on Code

    Updated TaskDialogBox.

  • David David committed [r2981] on Code

    Updated CMenu and samples.

  • David David committed [r2980] on Code

    Updated GetMenu

  • David David committed [r2979] on Code

    Updated wxx_gdi.h

  • David David committed [r2978] on Code

    Updated the MovieShow sample.

  • David David committed [r2977] on Code

    Tweaked the programming style in several files.

  • David David committed [r2976] on Code

    Updated CMetaFile, CMetaFileDC, CEnhMetaFile, CEnhMetaFileDC

  • David David committed [r2975] on Code

    Updated CDC, CTaskDialog, CColorDialog and CFileDialog.

  • David David committed [r2974] on Code

    Updated CWinApp and CWnd.

  • David David committed [r2973] on Code

    Updated the DirectX samples.

  • David David committed [r2972] on Code

    Updated the Direct2D and DirectX11 samples.

  • David David committed [r2971] on Code

    Updated samples.

  • David David committed [r2970] on Code

    Added DirectX12 sample. Removed DirectX9 sample.

  • David David committed [r2969] on Code

  • David David committed [r2968] on Code

    Update precompiled headers.

  • David David committed [r2967] on Code

    Updated the unit tests.

  • David David committed [r2966] on Code

    Updated CFile, , CFrameT, CRegKey, and CRibbonT.

  • David David committed [r2965] on Code

    Updated CFileFind, CFolderDialog and CFolderDialogEx

  • David David committed [r2964] on Code

    Updated wxx_ribbon.h

  • David David committed [r2963] on Code

    Updated CString, CFrameT and DockTabbedMDI sample.

  • David David committed [r2962] on Code

    Updated RibbonDockFrame

  • David David committed [r2961] on Code

    Updated TestCString

  • David David committed [r2960] on Code

    Updated samples.

  • David David committed [r2959] on Code

    Added Unit tests.

  • David David committed [r2958] on Code

    Updated Help.

  • David David committed [r2957] on Code

    Updated CArchive

  • David David committed [r2956] on Code

    Updated CArchive.

  • David David committed [r2955] on Code

    Updated CFile, and CSocket

  • David David committed [r2954] on Code

    Updated CSocket.

  • David David committed [r2953] on Code

  • David David committed [r2952] on Code

    Updated DialogTemplate sample.

  • David David committed [r2951] on Code

    Updated CDocker and CFrameT.

  • David David committed [r2950] on Code

    Updated CString and CRegKey.

  • David David committed [r2949] on Code

    Updated CDC, CGDIObject, CImageList and CMenu.

  • David David committed [r2948] on Code

    Updated CRegKey.

  • David David committed [r2947] on Code

    Updated CDC, CGDIObject, CImageList and CMenu.

  • David David committed [r2946] on Code

    Updated CString, CStringT, CAtoBSTR, CAtoW, CWtoA and CWtoBSTR.

  • David David committed [r2945] on Code

    Updated CString and the DialogTemplate sample.

  • David David committed [r2944] on Code

    Updated CString

  • David David committed [r2943] on Code

    Updated CDocker, CFrameT, CDocker, CMDIFrameT, CResizer. CStatusBar.

  • David David committed [r2942] on Code

    Updated CGlobalLockT and the BatchSourceFileEditor sample.

  • David David committed [r2941] on Code

    Updated CRichEdit, CStringT, and the samples.

  • David David committed [r2940] on Code

    Tidied the code in switch statements.

  • David David committed [r2939] on Code

    Updated Win32++ include files and samples.

  • David David committed [r2938] on Code

    Updated wxx_rect.h

  • David David committed [r2937] on Code

    Updated the Win32++ include files.

  • David David committed [r2936] on Code

  • David David committed [r2935] on Code

  • David David committed [r2934] on Code

  • David David committed [r2933] on Code

  • David David committed [r2932] on Code

    Added BatchSourceFileEditor sample.

  • David David committed [r2931] on Code

    Updated CStringT.

  • David David committed [r2930] on Code

    Renamed Browser sample to BrowserEx.

  • David David committed [r2929] on Code

  • David David committed [r2928] on Code

    Updated CFile, CString and CWinApp.

  • David David committed [r2927] on Code

    Updated CFrameT and samples.

  • David David committed [r2926] on Code

    Updated CFrameT, and the Browser, Explore and ToolbarBuilder samples.

  • David David committed [r2925] on Code

1 >