Click here to Skip to main content
15,923,273 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
General(Beginner) Updating TreeView in two views Pin
retro_coder6-Mar-05 20:02
retro_coder6-Mar-05 20:02 
GeneralMouse Cursor Hot Spot Pin
User 1026746-Mar-05 16:30
User 1026746-Mar-05 16:30 
GeneralRe: Mouse Cursor Hot Spot Pin
Alex Denisenko6-Mar-05 17:10
Alex Denisenko6-Mar-05 17:10 
QuestionHow to use XP Manifest in IE toolbar Pin
Alex Denisenko6-Mar-05 13:05
Alex Denisenko6-Mar-05 13:05 
AnswerRe: How to use XP Manifest in IE toolbar Pin
Michael Dunn6-Mar-05 13:45
sitebuilderMichael Dunn6-Mar-05 13:45 
GeneralRe: How to use XP Manifest in IE toolbar Pin
Alex Denisenko6-Mar-05 16:28
Alex Denisenko6-Mar-05 16:28 
GeneralRe: How to use XP Manifest in IE toolbar Pin
Michael Dunn6-Mar-05 19:24
sitebuilderMichael Dunn6-Mar-05 19:24 
GeneralRe: How to use XP Manifest in IE toolbar Pin
Alex Denisenko7-Mar-05 5:48
Alex Denisenko7-Mar-05 5:48 
Of course, I have read an MSDN article and all the CodeProject's XP manifest articles.
I has tried billion variants and still nothing.

Ok. Here is what I have now:
I have PSDK 2003 installed.

In stdafx.h:
#define _WIN32_WINNT 0x0501
#define SIDEBYSIDE_COMMONCONTROLS 1
#include "commctrl.h"

Additional dependencies:
ComCtl32.lib

In the SetSite method of the toolbar:

STDMETHODIMP CToolBarImpl::SetSite(IUnknown* pUnkSite)
{
...
InitCommonControls();
...
}

I have added toolbar2.rc:
2 RT_MANIFEST toolbar.manifest

Here is 'toolbar.manifest' file:


<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestversion="1.0">
<assemblyidentity
name="Microsoft.Windows.MYToolbar"
="" processorarchitecture="x86" version="1.0.0.0" type="win32">
<description>MYToolbar
<dependency>
<dependentassembly>
<assemblyidentity
type="win32"
="" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorarchitecture="x86" publickeytoken="6595b64144ccf1df" language="*">




My toolbar class is:
class CToolBarWindow : public CWindowImpl<ctoolbarwindow>
{
...
DECLARE_WND_SUPERCLASS(TEXT("MYTOOLBAR"), TOOLBARCLASSNAME)
...
}


I have compiled the app and checked that needed resource is in the dll file.
I started IE I didn't see XP theme for my toolbar (Other toolbars are OK).
I have no any idea what's wrong.
Please help.
Thanks.

PS: Maybe, can I have some 'blank' sources for IE plugin with XP theme?
I don't need any functionality, just blank IE DLL project that supports XP theme.
Thanks.
GeneralRe: How to use XP Manifest in IE toolbar Pin
Alex Denisenko7-Mar-05 5:50
Alex Denisenko7-Mar-05 5:50 
GeneralNeed help... Pin
Alex Denisenko7-Mar-05 16:44
Alex Denisenko7-Mar-05 16:44 
AnswerThe prob is found Pin
Alex Denisenko9-Mar-05 6:58
Alex Denisenko9-Mar-05 6:58 
Generalusing CFileDialog in dialog derived from CAxDialogImpl Pin
tkarven6-Mar-05 1:58
tkarven6-Mar-05 1:58 
Questionhow to display menu in a dialog derived from CAxDialogImpl Pin
tkarven6-Mar-05 1:33
tkarven6-Mar-05 1:33 
General[wtl]Making toolbars like in Winrar Pin
Tommy2k5-Mar-05 2:27
Tommy2k5-Mar-05 2:27 
Generalautomate IE's image save as function Pin
tkarven4-Mar-05 7:01
tkarven4-Mar-05 7:01 
QuestionHow do bind a Control with variable using WTL Pin
inbakumar.G2-Mar-05 1:13
inbakumar.G2-Mar-05 1:13 
AnswerRe: How do bind a Control with variable using WTL Pin
Stuart Dootson2-Mar-05 11:16
professionalStuart Dootson2-Mar-05 11:16 
GeneralNeed help with linker errors Pin
l0t3k1-Mar-05 16:51
l0t3k1-Mar-05 16:51 
Generaldyanamically create listboxes on my dialog Pin
gauravjain1-Mar-05 4:34
gauravjain1-Mar-05 4:34 
GeneralRe: dyanamically create listboxes on my dialog Pin
Douglas Troy8-Mar-05 4:25
Douglas Troy8-Mar-05 4:25 
Generaldyanamically create listboxes Pin
gauravjain1-Mar-05 4:31
gauravjain1-Mar-05 4:31 
Generalcode to retrieve window xp's user name Pin
tkarven1-Mar-05 3:53
tkarven1-Mar-05 3:53 
GeneralRe: code to retrieve window xp's user name Pin
Michael Dunn1-Mar-05 7:48
sitebuilderMichael Dunn1-Mar-05 7:48 
GeneralRe: code to retrieve window xp's user name Pin
tkarven1-Mar-05 20:59
tkarven1-Mar-05 20:59 
GeneralRe: code to retrieve window xp's user name Pin
Michael Dunn2-Mar-05 12:16
sitebuilderMichael Dunn2-Mar-05 12:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.