Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: web browser control in win32 application Pin
Mark Salsbery12-Dec-07 9:36
Mark Salsbery12-Dec-07 9:36 
QuestionGetting file system parent from LPITEMLIST? Pin
Jerry Evans12-Dec-07 4:40
Jerry Evans12-Dec-07 4:40 
AnswerRe: Getting file system parent from LPITEMLIST? Pin
Roger Broomfield12-Dec-07 16:48
Roger Broomfield12-Dec-07 16:48 
GeneralRe: Getting file system parent from LPITEMLIST? Pin
Jerry Evans13-Dec-07 0:45
Jerry Evans13-Dec-07 0:45 
GeneralXP style look Pin
josip cagalj12-Dec-07 2:06
josip cagalj12-Dec-07 2:06 
GeneralRe: XP style look Pin
toxcct12-Dec-07 2:24
toxcct12-Dec-07 2:24 
GeneralRe: XP style look Pin
Jeremy Falcon12-Dec-07 4:13
professionalJeremy Falcon12-Dec-07 4:13 
GeneralRe: XP style look Pin
Dr. Emmett Brown12-Dec-07 6:05
Dr. Emmett Brown12-Dec-07 6:05 
There are a lot of ways to make it work on VS2005 or 2008. This is mine:

1.- Add the InitCommonControls() call at the very beggining of your program.
2.- On the stdafx.h file, add this line: #include "commctrl.h"

On the properties of your project:
3.- On Linker/Manifest File make sure the generate manifest entry is set to "Yes"
4.- On Linker/Command Line add "comctl32.lib" (without the cuotes).
5.- On Manifest Tool/Input and Output, set the "Aditional Manifest File" to $(IntDir)\XPCommonControls.manifest


Finally create a new text file with this code and save it as "XPCommonControls.manifest" on the same folder than your .exe



<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestversion="1.0">
<dependency>
<dependentassembly>
<assemblyidentity>
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"/&gt;
</assemblyidentity></dependentassembly>
</dependency>
</assembly>


Wish you luck Big Grin | :-D
rotter
GeneralRe: XP style look [modified] Pin
josip cagalj13-Dec-07 1:34
josip cagalj13-Dec-07 1:34 
GeneralRe: XP style look Pin
josip cagalj12-Dec-07 23:25
josip cagalj12-Dec-07 23:25 
GeneralClear text from a device context. Pin
Mr Simple12-Dec-07 2:06
Mr Simple12-Dec-07 2:06 
QuestionRe: Clear text from a device context. Pin
CPallini12-Dec-07 2:13
mveCPallini12-Dec-07 2:13 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 2:38
Mr Simple12-Dec-07 2:38 
GeneralRe: Clear text from a device context. Pin
CPallini12-Dec-07 2:54
mveCPallini12-Dec-07 2:54 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 4:47
Mr Simple12-Dec-07 4:47 
GeneralRe: Clear text from a device context. Pin
CPallini12-Dec-07 5:12
mveCPallini12-Dec-07 5:12 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 6:30
Mark Salsbery12-Dec-07 6:30 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 7:12
Mr Simple12-Dec-07 7:12 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 7:31
Mark Salsbery12-Dec-07 7:31 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 22:43
Mr Simple12-Dec-07 22:43 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery13-Dec-07 5:48
Mark Salsbery13-Dec-07 5:48 
GeneralRe: Clear text from a device context. Pin
Mr Simple13-Dec-07 6:33
Mr Simple13-Dec-07 6:33 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery13-Dec-07 7:44
Mark Salsbery13-Dec-07 7:44 
GeneralRe: Clear text from a device context. Pin
Mr Simple14-Dec-07 1:22
Mr Simple14-Dec-07 1:22 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery14-Dec-07 4:47
Mark Salsbery14-Dec-07 4:47 

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.