I have a CToolBar that uses the TBSTYLE_EX_MIXEDBUTTONS|TBSTYLE_EX_DRAWDDARROWS style, and some toolbar buttons use the BTNS_DROPDOWN style and some of them use BTNS_WHOLEDROPDOWN style. I'd like to make the arrows on the right side of the buttons little bigger and the drop down part more wider, like the Google has done with their toolbar buttons. I have tried to custom draw the drop down part of the buttons in CDDS_ITEMPOSTPAINT, but here I don't get the button style and even the rect is smaller than actual button size for BTNS_WHOLEDROPDOWN styled buttons. I am using pure ATL code(***NO MFC***). Regards! Padmanabh Sharma
Padmanabh Sharma
Posts
-
How to make drop down part of toolbar button more wider? -
How to make drop down part of toolbar button more wider?I have a CToolBar that uses the TBSTYLE_EX_MIXEDBUTTONS|TBSTYLE_EX_DRAWDDARROWS style, and some toolbar buttons use the BTNS_DROPDOWN style and some of them use BTNS_WHOLEDROPDOWN style. I'd like to make the arrows on the right side of the buttons little bigger and the drop down part more wider, like the Google has done with their toolbar buttons. I have tried to custom draw the drop down part of the buttons in CDDS_ITEMPOSTPAINT, but here I don't get the button style and even the rect is smaller than actual button size for BTNS_WHOLEDROPDOWN styled buttons. I am using pure ATL code(***NO MFC***). Regards! Padmanabh Sharma
-
Hardware details without using WMIHi, I missed to add few of details in the list. The updated list is: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock 6. BIOS type and BIOS system date 7. Memory modules and RAM in each memory module. Regards! Paddy
-
Avoiding redefinition of INT8Sorry for the same. Regards! Paddy
-
Hardware details without using WMIHi, Yes this gives me most of the details but even i m not able to get following details: 1. Motherboard ID. 2. Driver details for all partitions and removable drives. 3. Bus type and Bus width 4. CPU alias 5. Real and Effective clock Regards! Paddy
-
Avoiding redefinition of INT8Hi, I am using WMI to get hardware details. WMI defines INT8. At the same time I am using one library that defines INT8, and because of this I am getting redefinition error for INT8. I can not change the code either in WMI or in other library. There could be one way by creating a Dll for all wmi code. But is there any other workaround for the same? That would be great, if one can help me in getting following details without using WMI: 1. All drives (Fixed as well as removable) and their partitions with size, utilization and driver (description, date, version) details. 2. CPU details : No of CPUs and for each CPU ---> CPU type, CPU alias, Original clock, Real Clock, Effective clock, CPUID manufacturer, CPUID revision. 3. Motherboard details: Motherboard ID, Motherboard Name, BUS type, BUS Width, BIOS type, System BIOS Date, No of memory modules and RAM within them. Regards! Paddy
-
Hardware details without using WMIHi, I am using WMI to get hardware details. WMI defines INT8. At the same time I am using one library that defines INT8, and because of this I am getting redefinition error for INT8. I can not change the code either in WMI or in other library. There could be one way by creating a Dll for all wmi code. But is there any other workaround for the same? That would be great, if one can help me in getting following details without using WMI: 1. All drives (Fixed as well as removable) and their partitions with size, utilization and driver (description, date, version) details. 2. CPU details : No of CPUs and for each CPU ---> CPU type, CPU alias, Original clock, Real Clock, Effective clock, CPUID manufacturer, CPUID revision. 3. Motherboard details: Motherboard ID, Motherboard Name, BUS type, BUS Width, BIOS type, System BIOS Date, No of memory modules and RAM within them. Regards! Paddy Padmanabh Sharma