Questions tagged [comctl32]

Comctl32.dll - common controls library build-in Windows system.

Comctl32.dll - common controls library build-in Windows system.

Documentation:

-Docs

77 questions
17
votes
3 answers

How to enable visual styles without a manifest

According to the docs: "If you want your application to use ComCtl32.dll version 6, you must add an application manifest or compiler directive to specify that version 6 should be used if it is available." Notice the logical OR above? So what is this…
Tergiver
  • 14,171
  • 3
  • 41
  • 68
7
votes
4 answers

C#: comctl32.dll version 6 in debugger

I'm using the WindowsAPICodePack for TaskDialog. When I try to show the dialog it says that it needs to load version 6 of comctl32.dll. So I added version 6 to the app.manifest and tried running it. Still no luck. I went to the Debug folder and ran…
Christian
  • 135
  • 2
  • 8
6
votes
3 answers

List control LVM_SETTOPINDEX needed

The list-view control has the LVM_GETTOPINDEX message that allows to get the index of the topmost visible item. Now I need to set the topmost visible item, but surprisingly there is no LVM_SETTOPINDEX message which would be natural. Is there an…
Jabberwocky
  • 48,281
  • 17
  • 65
  • 115
5
votes
1 answer

Delphi 5 causes EAccessViolation when manifest is added as a resource

This is one of most interesting problems I have found recently. We have a legacy Delphi 5 program (Rave Reports 4 references are preventing from upgrading to D2007). When program is compiled with our template-generated version resource it works…
too
  • 3,009
  • 4
  • 37
  • 51
5
votes
2 answers

MFC program hangs: broken Comctl32.dll after update KB3059317 on Vista?

I have an MFC-based program which worked fine just before applying update 3059317: MS15-060: Vulnerability in Microsoft common controls could allow remote code execution: June 9, 2015) The update replaces Comctl32.dll with a new version. After…
Pierre Arnaud
  • 10,212
  • 11
  • 77
  • 108
5
votes
1 answer

GCC Win32 API Linking Issue with ComCtl32

I can't get Comctl32.lib to link with my program using GCC (MinGW). GCC Input: gcc -o program.exe main.c images.o -lgdi32 -lcomctl32 -mwindows GCC Output main.c: In function 'WinMain': main.c:120:2: error: unknown type name…
David
  • 4,313
  • 1
  • 21
  • 29
4
votes
1 answer

How to subclass a win32 control and maintain compatibility with older versions of comctl32.dll?

Version 6.0 of the common controls (comctl32.dll) implements a new approach for subclassing controls that is not available on older versions of Windows. What is the best way to implement subclassing so that it works on systems that support either…
Nathan Moinvaziri
  • 5,506
  • 4
  • 29
  • 30
4
votes
1 answer

Are images in ILC_COLOR32 image lists alpha premultiplied or not? I'm getting conflicting information

Very simple question here: Are ILC_COLOR32 Image Lists alpha-premultiplied or not? Various questions on Stack Overflow, like this one, imply they are; this wxWidgets bug, however, indicates otherwise. The only place where Microsoft actually says…
andlabs
  • 11,290
  • 1
  • 31
  • 52
4
votes
0 answers

create common control without visual styles

I use a standard application manifest to enable visual styles in my window controls (that is, I am using comctl32.dll v6). Now for some compatibility reason I want some particular tooltip control to be created without visual styles. Turning off the…
nikos
  • 532
  • 3
  • 10
4
votes
1 answer

How to get rectangular multiple selection behavior in Comtl32.dll ListView

Possible Duplicate: ListView multiple selection behavior? The ListView in Comtl32.dll v6.0 does multiple selection (when using Shift key) as follows (x means selected) 00xxxx xxxxxx xxxx00 Earlier versions of ListView do it as follows…
John Crowe
4
votes
1 answer

How to enable modern look and feel of tool bar for Win32 Application?

Recently I started learning GUI programming based on Win32 API. When I add tool bar control (from comctl32.lib) to my simple application I find it looks flat while the menu bar has more "Windows 7 friendly" 3D look and feel (white glow at the top…
Arie Xiao
  • 13,909
  • 3
  • 31
  • 30
4
votes
2 answers

Load "comctl32.dll" from desktop app in Windows RT failed

Using the method described in http://forum.xda-developers.com/showthread.php?t=1944675 I executed a win32 desktop app in my surface with Windows RT. Loading windows dlls like user32.dll, kernel32.dll, gdi32.dll and etc, using LoadLibrary is…
A.Danesh
  • 844
  • 11
  • 40
3
votes
2 answers

how to set the default button in a TaskDialog?

I am using TaskDialog API in a win32 app. I created a Task Dialog with YES/NO buttons but I can't find any option to set the No button as default. YES button is always the default. Please let me know if there is a way to set the NO button as…
3
votes
1 answer

Why is DrawFocusRect affected by the Text color?

I was getting weird results with DrawFocusRect() in a TreeView custom draw routine. The outline was somewhat different, some were almost a solid line and others were dashed. I found out that it's the HDC SetTextColor() value that is affecting…
user3161924
  • 1,849
  • 18
  • 33
3
votes
0 answers

Changing the color of links in SysLink controls

I need to change the color of the links in a SysLink control. There is an article on changing the color of SysLink controls, but it deals only with changing the color of the whole control, which makes the color of links the same as the color of the…
Jabberwocky
  • 48,281
  • 17
  • 65
  • 115
1
2 3 4 5 6