themes and MFC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Somebody tell me that there is a function I can call (similar to
AfxInitRichEdit2() for Rich Edit controls) to get controls in an MFC app to
match the current theme.

Controls match the theme in the dialog editor (VS2005 Pro), but when I run
the app all evidence of the theme goes away.
.



Relevant Pages

  • Re: Porting a 640x480 MFC app to iPAQ
    ... KH> I am porting an MFC app that is written for a 640x480 screen to an ... up with preparing separate resources for different screen resolution. ... dialogs with too much controls. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: VS 2005: Does Hosting Windows Forms in MFC Require .NET Framework?
    ... > As far as I can tell, an MFC App developed in VS 2005 that hosts Windows ... > Forms controls does not require the .NET Framework on a target install ... > good old-fashioned MFC app that does not depend on .NET Framework to run. ...
    (microsoft.public.vc.mfc)
  • Re: Controls on a modeless dialog
    ... Ajay Kalra [MVP - VC++] ... > I am working on an MFC app in VC++ 7. ... > but the controls do not. ... This happens when the visible property of the ...
    (microsoft.public.vc.mfc)
  • UserControl activation from MFC does not call Paint for children
    ... I have an unmanged MFC app that is using CWnd::CreateControl to activate ATL ... Composite controls. ... I am building a new C# Composite control on the CLR ... The InvalidateRect call is causing a Paint event to occur for ctlCodec ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Porting a 640x480 MFC app to iPAQ
    ... > I am porting an MFC app that is written for a 640x480 screen to an ... You haven't mentioned whether you still need to support the VGA app. ... your controls appropriately. ... textbox with the right edge of the label, ...
    (microsoft.public.windowsce.embedded.vc)