How to change the forms and dialogs look and feel
-
Can anyone explain how to change the forms and other controls are look and feel (Runtime) in vc++?
-
Can anyone explain how to change the forms and other controls are look and feel (Runtime) in vc++?
Hi suthakar, You can call the ModifyStyle or ModifyStyleEx to update ur window styles dynamically. Alternative is to use the SetWindowLong family of functions (as documented in MSDN) to change the style byte values, and update the window accordingly. Just be sure that your style values are compatible with the way ur using ur dialogs/forms.
-
Hi suthakar, You can call the ModifyStyle or ModifyStyleEx to update ur window styles dynamically. Alternative is to use the SetWindowLong family of functions (as documented in MSDN) to change the style byte values, and update the window accordingly. Just be sure that your style values are compatible with the way ur using ur dialogs/forms.
Hi Tyrion, Thanks for your information.Extented that shall i add themes like office2007 styles or VISTA styles to dialogs and forms?Is there any provision for adding those themes?
-
Can anyone explain how to change the forms and other controls are look and feel (Runtime) in vc++?
You need to customize your control (WM_OWNERDRAW) you can find examples for each control on the codeproject.
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
-
You need to customize your control (WM_OWNERDRAW) you can find examples for each control on the codeproject.
Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )
yup i agree with hamid, WM_OWNERDRAW gives u full control over the drawing operations. and sorry but i`m not too familiar with the newer Vista and Office 2007 styles