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
1
vote
2 answers

TaskDialog change button language

I use the Vista TaskDialog Wrapper and Emulator for WindowsForms. It works fine, but how can I change the language of the buttons?
David
  • 4,027
  • 10
  • 50
  • 102
1
vote
0 answers

VSTO Add-ins and comctl32.dll

I'm developing Word and Excel 2010 add-ins using VSTO 4.0 and .NET 4.0. This add-ins integrate some features of our thick client, which is written in MFC. And MFC dialogs using Win2k styles when I call they from add-ins (in a thick client they look…
Tenere
  • 361
  • 5
  • 11
0
votes
1 answer

Button background transparency using Win32 and Visual Styles

Edit: If anyone's tried this in win32 before, am I going in the right direction by using DrawThemeBackground()? I'v recently enabled Visual Styles using a manifest for version 6 of ComCtl32.dll. Example of Visual Styles in Win32: Visual Styles The…
tyler
  • 167
  • 1
  • 2
  • 8
0
votes
1 answer

Disabled SysLink controls appear with "enabled" look

Apparently SysLink controls cannot be displayed disabled. I have a dialog containing the following controls (coordinates are not accurate in this sample): CONTROL "Foo",IDC_CHECK8 "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP, …
Jabberwocky
  • 48,281
  • 17
  • 65
  • 115
0
votes
1 answer

How would I change the footer text of a TaskDialogIndirect from inside its callback function?

I am currently making a TaskDialogIndirect with a limited response time. The only issue is, that I cannot change the footer text of the TaskDialogIndirect after it has been created. I have set up a timer and want to change the footer's text to show…
Davide_24
  • 67
  • 7
0
votes
1 answer

Report item width of items in TreeView via NM_CUSTOMDRAW?

Is there a WM_MEASUREITEM type item for custom drawing treeview items via NM_CUSTOMDRAW? I'd like to be able to report the width the item will actually be once I paint it in the post paint so a horizontal scrollbar doesn't show up when not needed…
user3161924
  • 1,849
  • 18
  • 33
0
votes
0 answers

How do you update all the TreeView items full area when the vertical scrollbar shows up or goes away?

I am using NM_CUSTOMDRAW to draw tree view items. My items right justify parts of it by using a right margin based on the RECT area reported available. The issue I have is that when the vertical scrollbar appears or disappears, only the item…
user3161924
  • 1,849
  • 18
  • 33
0
votes
0 answers

Get TreeView item text related to current item handling WM_NOTIFY / NM_CUSTOMDRAW?

Subject says it all. Is there a way when handling NM_CUSTOMDRAW for a tree view to get the text of the item currently being drawn? Thanks.
user3161924
  • 1,849
  • 18
  • 33
0
votes
0 answers

How do I load symbols for a dll?

I am trying to find out why a certain call to a TextBox takes unexpectedly long. To do that, I open the EditCtls solution in VS2022 and attach it to VB6. Then I perform the TextBox.Text = "Some very long value". In VS2022, I can see that the…
tmighty
  • 10,734
  • 21
  • 104
  • 218
0
votes
1 answer

WINAPI: Change color of (Radio) Button using Custom Draw?

I simply need to change the text color of a radio control sometimes, so in the dialog procedure I setup: case WM_NOTIFY: { if (reinterpret_cast(lparam)->hdr.idFrom==IDC_RADIOMYCONTROLID) { if…
user3161924
  • 1,849
  • 18
  • 33
0
votes
0 answers

Using array of TASKDIALOG_BUTTON causes C2061

I am making a function that uses TaskDialogIndirect() to construct more advanced Message Boxes. I want to be able to pass custom buttons to the function. For that, I am using an array of TASKDIALOG_BUTTON as a parameter. The only problem is that I…
Davide_24
  • 67
  • 7
0
votes
1 answer

MFC: CListCtrl LVS_SORTASCENDING not working?

I'm not sure why something so simple doesn't seem to work? I have a CFormView with a CListCtrl member variable that uses DDX. The Dialog already has the Ascending sort option set in the resource editor, but I even force it with ModifyStyle() it…
user3161924
  • 1,849
  • 18
  • 33
0
votes
1 answer

WIN32: Is there a way to have the button icon (BM_SETIMAGE) on the right side of the text

Is there a way to have a button with text and graphic, with the graphic on the right side of the text, without having to owner-draw the button? I want to just sent BM_SETIMAGE and whatever else would be needed so the graphic is to the right of the…
user3161924
  • 1,849
  • 18
  • 33
0
votes
1 answer

Free Heap of Edit Control after setting the text to a large amount of data?

I was looking at my process in Task manager after pulling in a large amount of data that went to a CEditView then setting back to small amount. I noticed the commit size stayed large. Then I used VMMMap and see it as well, so I did "Memory Usage"…
user3161924
  • 1,849
  • 18
  • 33
0
votes
1 answer

FlatSB_GetScrollInfo could not be located in ... COMCTL32.dll

I just upgraded a product from C++Builder 2007 to RAD Studio XE, and at the same time changed some third party component. Now, when I run my product on Vista, I get the following error: Project1.exe - Entry Point Not Found The procedure entry point…
Sharkie
  • 409
  • 4
  • 10