Click here to Skip to main content
15,915,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCPictureHolder and CImageList Pin
Paul Selormey10-Jan-02 0:44
Paul Selormey10-Jan-02 0:44 
GeneralA CFileDialog Question - selecting multiple files Pin
Dor9-Jan-02 23:58
Dor9-Jan-02 23:58 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
Fredrik Skog10-Jan-02 1:34
Fredrik Skog10-Jan-02 1:34 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
PJ Arends10-Jan-02 10:29
professionalPJ Arends10-Jan-02 10:29 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
Fredrik Skog10-Jan-02 20:56
Fredrik Skog10-Jan-02 20:56 
GeneralRe: A CFileDialog Question - selecting multiple files Pin
PJ Arends11-Jan-02 6:13
professionalPJ Arends11-Jan-02 6:13 
GeneralReload Icon when Explorer Crashes Pin
Jason Hooper9-Jan-02 23:30
Jason Hooper9-Jan-02 23:30 
GeneralRe: Reload Icon when Explorer Crashes Pin
Nish Nishant10-Jan-02 0:31
sitebuilderNish Nishant10-Jan-02 0:31 
GeneralRe: Reload Icon when Explorer Crashes Pin
Bill Leibold10-Jan-02 7:53
Bill Leibold10-Jan-02 7:53 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 8:47
James R. Twine10-Jan-02 8:47 
GeneralRe: Reload Icon when Explorer Crashes Pin
Jon Hulatt10-Jan-02 0:57
Jon Hulatt10-Jan-02 0:57 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 4:49
James R. Twine10-Jan-02 4:49 
GeneralRe: Reload Icon when Explorer Crashes Pin
Jason Hooper10-Jan-02 7:14
Jason Hooper10-Jan-02 7:14 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 8:13
James R. Twine10-Jan-02 8:13 
GeneralRe: Reload Icon when Explorer Crashes Pin
Michael Dunn10-Jan-02 7:48
sitebuilderMichael Dunn10-Jan-02 7:48 
GeneralRe: Reload Icon when Explorer Crashes Pin
James R. Twine10-Jan-02 8:20
James R. Twine10-Jan-02 8:20 
Questionhow to use scrollbar? Pin
AnonymousBabe@usa.net9-Jan-02 22:51
AnonymousBabe@usa.net9-Jan-02 22:51 
GeneralProblem with XP graphical interface Pin
limax9-Jan-02 22:30
limax9-Jan-02 22:30 
There is a simple program (WinAPI only) that creates window and in WM_CREATE handler creates one button with:
HWND hButton = CreateWindowEx(0, WC_BUTTON, _T("Push me: AaBb"),
WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,
100, 100, 200, 20,
hwnd, NULL, g_hInstance, NULL);

It runs ok with old comctl32.dll
The problem appears when I want to switch to XP interface and create a file named "my_app_name.exe.manifest" with the following content:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<description>Your application description here.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

The button DOES NOT CREATE Cry | :((
GetLastError() returns "invalid window handle". What I am doing wrong?

Best Regards,
Maxim
GeneralStandard Conversions Pin
9-Jan-02 22:01
suss9-Jan-02 22:01 
GeneralRe: Standard Conversions Pin
Christian Graus9-Jan-02 23:26
protectorChristian Graus9-Jan-02 23:26 
GeneralRe: Standard Conversions Pin
Nish Nishant10-Jan-02 0:13
sitebuilderNish Nishant10-Jan-02 0:13 
GeneralRe: Standard Conversions Pin
10-Jan-02 21:32
suss10-Jan-02 21:32 
GeneralRe: Standard Conversions Pin
Christian Graus11-Jan-02 0:02
protectorChristian Graus11-Jan-02 0:02 
GeneralPostMesssage Virtual key code Pin
kasturirawat9-Jan-02 19:52
kasturirawat9-Jan-02 19:52 
GeneralRe: PostMesssage Virtual key code Pin
Rickard Andersson209-Jan-02 21:27
Rickard Andersson209-Jan-02 21:27 

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.