Re: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)



Helo, Gary,

Thank you very much for your reply. You are right about what I try to
achieve. The following is the information for your question:

(1)first I create a dialog resource and add a class associated with the
dialog resource; then I invoke the dialog in OnCreate(LPCREATESTRUCT
lpCreateStruct) with the code: m_myDlgClass.Create(IDD_DIALOG1, this);in
::OnDraw(
CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid) with the code:
m_myDlgClass.MoveWindow(rcBounds);

Does the ActiveX control already have the Visual Style applied? I am not
sure what it is and how to do it.
(2)I am targeting at Window 98, Mi, 2000 and XP.

Thank you so much for you help.

Best regards,

Charlie

""Gary Chang[MSFT]"" <v-garych@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:tU9uwx8dFHA.3372@xxxxxxxxxxxxxxxxxxxxxxxx
> Hi Charlie,
>
>>I am working on a MFC ActiveX control(.ocx file) by using VC++6.0, there
> is
>>a dialog window with the control, could you tell me how to enable window
> XP
>>look and feel for the dialog in the ActiveX control?
>
> Based on my understanding, you need to invoke a Windows XP Visual Style
> dialog within your custom MFC ActiveX control, please let me know if I
> have
> misunderstood anything.
>
> Before we proceed, would you please tell me how do you invoke the dialog
> window within your ActiveX control, and does the ActiveX control already
> have the Visual Style applied?
>
> By the way, what's the specific Windows system your ActiveX control
> targets
> at?
>
>
> Thanks!
>
> Best regards,
>
> Gary Chang
> Microsoft Community Support
> --------------------
> Get Secure! ¡§C www.microsoft.com/security
> Register to Access MSDN Managed Newsgroups!
> http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
> &SD=msdn
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>


.



Relevant Pages

  • Re: Find Window from Client-Side (ActiveX?) to Copy Contents into
    ... Right click on the evaluate assembly node found in ... That file is a stack dump of the permissions ... to scrape data from another window for use in the web app. ... I've considered and attempted to create an ActiveX control that will be ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Find Window from Client-Side (ActiveX?) to Copy Contents into
    ... to scrape data from another window for use in the web app. ... If I run the ActiveX control and exit before it attempts to ... I've modified code-access security in LocalIntranet_Zone to FullTrust ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
    ... >a dialog window with the control, could you tell me how to enable window ... >look and feel for the dialog in the ActiveX control? ... you need to invoke a Windows XP Visual Style ... dialog within your custom MFC ActiveX control, please let me know if I have ...
    (microsoft.public.vc.mfc)
  • Re: Flash Movie
    ... It gets created by who ever needs to display a flash movie. ... The reason it is a seperate window and not just using the activex directly is because I needed to setup timers for progress and stop notifications back to the parent. ... Anyway, I simply show the ActiveX control for a second, and copy what is in its DC. ... //make sure the player window is drawn ...
    (microsoft.public.vc.mfc)
  • Re: OnIdle and UI thread
    ... Tomorrow's bug will be different. ... the ActiveX control has any visible manifestation, ... The control's UI part covers my view window. ... MVP Tips: http://www.flounder.com/mvp_tips.htm ...
    (microsoft.public.vc.mfc)