Click here to Skip to main content
15,886,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: One line miss problem Pin
bob1697212-May-07 20:06
bob1697212-May-07 20:06 
AnswerRe: One line miss problem Pin
hsuch12-May-07 20:49
hsuch12-May-07 20:49 
GeneralRe: One line miss problem Pin
bob1697212-May-07 23:29
bob1697212-May-07 23:29 
GeneralRe: One line miss problem Pin
hsuch13-May-07 7:43
hsuch13-May-07 7:43 
QuestionDistinguish Thread State(running or suspend) Pin
A_Fa12-May-07 19:03
A_Fa12-May-07 19:03 
AnswerRe: Distinguish Thread State(running or suspend) Pin
Mark Salsbery13-May-07 6:23
Mark Salsbery13-May-07 6:23 
QuestionVC++ 6.0 and VSS integration registry entries - again Pin
Vaclav_12-May-07 14:04
Vaclav_12-May-07 14:04 
QuestionVisual Styles - Edit Control Pin
Meh!12-May-07 13:44
Meh!12-May-07 13:44 
Okay... I have embedded a manifest in my project:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">

<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Meh! Test"
type="win32"
/>

<description>Program Description</description>

<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>

</dependentAssembly>
</dependency>
</assembly>


I have added as a resource:

CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "Meh! Test.exe.manifest"


I have called InitCommonControlsEx for every ICC_x there could be:

INITCOMMONCONTROLSEX iex;
iex.dwSize = sizeof(INITCOMMONCONTROLSEX);
iex.dwICC = ICC_LISTVIEW_CLASSES|ICC_TREEVIEW_CLASSES|ICC_BAR_CLASSES|ICC_TAB_CLASSES|ICC_UPDOWN_CLASS|
ICC_PROGRESS_CLASS|ICC_HOTKEY_CLASS|ICC_ANIMATE_CLASS|ICC_WIN95_CLASSES|ICC_DATE_CLASSES|
ICC_USEREX_CLASSES|ICC_COOL_CLASSES|ICC_INTERNET_CLASSES|ICC_PAGESCROLLER_CLASS|
ICC_NATIVEFNTCTL_CLASS;

InitCommonControlsEx(&iex);
InitCommonControls();

But I still have the win95 edit control.
(All other common controls are styled correctly though)

Any help would be well apreciated...
PS: I am using Visual Studio C++ Express 2005 with Updates
PSS: Yes, I have included commctrl.h and 'commented in' comctl32.lib
AnswerRe: Visual Styles - Edit Control Pin
Perspx13-May-07 0:15
Perspx13-May-07 0:15 
QuestionMonitor open files on a share Pin
Vadim Tabakman12-May-07 13:35
Vadim Tabakman12-May-07 13:35 
AnswerRe: Monitor open files on a share Pin
Vadim Tabakman12-May-07 16:47
Vadim Tabakman12-May-07 16:47 
GeneralRe: Monitor open files on a share Pin
erajsri13-May-07 22:32
erajsri13-May-07 22:32 
QuestionCorrect usage of reinterpret_cast and static_cast Pin
ComplexLifeForm12-May-07 10:03
ComplexLifeForm12-May-07 10:03 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
John R. Shaw12-May-07 10:58
John R. Shaw12-May-07 10:58 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697212-May-07 12:06
bob1697212-May-07 12:06 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
John R. Shaw12-May-07 12:36
John R. Shaw12-May-07 12:36 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697212-May-07 13:20
bob1697212-May-07 13:20 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 15:00
Stephen Hewitt13-May-07 15:00 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
John R. Shaw14-May-07 15:12
John R. Shaw14-May-07 15:12 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
ComplexLifeForm12-May-07 21:11
ComplexLifeForm12-May-07 21:11 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697213-May-07 2:07
bob1697213-May-07 2:07 
AnswerRe: Correct usage of reinterpret_cast and static_cast Pin
Michael Dunn13-May-07 6:24
sitebuilderMichael Dunn13-May-07 6:24 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 14:31
Stephen Hewitt13-May-07 14:31 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
bob1697213-May-07 19:41
bob1697213-May-07 19:41 
GeneralRe: Correct usage of reinterpret_cast and static_cast Pin
Stephen Hewitt13-May-07 19:48
Stephen Hewitt13-May-07 19:48 

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.