I have a MFC application. I am using CMFCTabCtrl in a dialog.
My requirement is I have to add a checkbox in each tab page of CMFCTabCtrl as below.
Is it possible to add checkbox in each tab page of CMFCTabCtrl ?
I have a MFC application. I am using CMFCTabCtrl in a dialog.
My requirement is I have to add a checkbox in each tab page of CMFCTabCtrl as below.
Is it possible to add checkbox in each tab page of CMFCTabCtrl ?
On
You can't do this with creating a check box window over the current CMFCTabCtrl.
My advice would be:
Draw3dFlat or Draw3dTab functions. This function should draw the checkbox into the tab surface. AdjustTabs to resize them to the size you want.OnLButtonDown handler that tracks if the user clicks into your checkbox...You have all the original source code, it should be possible to implement this in using existing code.
My question was answered in the below link.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2b86a6df-12bb-4fe2-9f23-d9848de49f84/adding-checkbox-in-cmfctabctrls-tab-header?forum=vcgeneral#000673ca-c995-42d8-85c2-cb4781090653
The code is