Re: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- From: "CharlieHoo" <charliehoo@xxxxxxxxxxxxx>
- Date: Thu, 23 Jun 2005 12:08:48 -0400
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.
>
.
- Follow-Ups:
- Re: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- From: "Gary Chang[MSFT]"
- Re: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- References:
- how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- From: CharlieHoo
- RE: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- From: "Gary Chang[MSFT]"
- how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- Prev by Date: Re: Control Panel Applet does not appear in Control Panel
- Next by Date: Re: Database path from DSN (MSDE) (2nd. attempt)
- Previous by thread: RE: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- Next by thread: Re: how to enable window XP look and feel for VC++ 6.0 MFC ActiveX control(.ocx file)
- Index(es):
Relevant Pages
|