How do we can given the highlighted effect to the toolbar button when it is pressed
-
hii , Can somebody help me .. For the buttons on the toolbar how can we give the effect as highlighted when pressed or when the mouse is move on it . Thanks Shikha "If there is a will there is a way"
-
hii , Can somebody help me .. For the buttons on the toolbar how can we give the effect as highlighted when pressed or when the mouse is move on it . Thanks Shikha "If there is a will there is a way"
You can use SetState() method of CButton Class and set the parameter as TRUE to highlight the button Abhijeet
-
You can use SetState() method of CButton Class and set the parameter as TRUE to highlight the button Abhijeet
-
No, I am from Amravati. & graduated from Shegaon engineering College. Abhijeet
-
You can use SetState() method of CButton Class and set the parameter as TRUE to highlight the button Abhijeet
Thanks Abhijeet, But for the toolbar buttons ,setstate() is not suitable. Regards Shikha "If there is a will there is a way "
-
hii , Can somebody help me .. For the buttons on the toolbar how can we give the effect as highlighted when pressed or when the mouse is move on it . Thanks Shikha "If there is a will there is a way"
1. Use TB_HOTIMAGELIST message to set the "hot" image list of toolbar 2. Subclass the toolbar and implement the WM_MOUSExxx, WM_NCMOUSExxx etc. messages to detect toolbar buttons activation, mouse hovering etc. and you can do whatever you like to do. For example you can use DrawEdge to draw a button margins when hovered.