Taskbar Color Reverts When Changing Color Using SetWindowCompositionAttribute in WinUI3
Hi, I am encountering an issue with the taskbar color on Windows. When I change the taskbar color using the SetWindowCompositionAttribute method, the color initially changes as expected. However, as soon as I click the 'Start' button, the taskbar color…
How Do I Customize The Appearance of Custom Controls in the Windows API
Hi, I Am Using Mingw-W64 As My Compiler. How Do I Customize the Appearance of controls. I Know How To Enable Visual Styles. But, I Would like to know if there is a way to Customize The Look of controls Easily, Have Effects, Etc..., Preferably Without…
PktmonApi.dll does not contain the functions specified in the documentation
Hello, I am trying to use the PktmonApi.dll as described here. The information box states that there is no header and instead you load the DLL at runtime and pull out the function addresses using GetProcAddress. On the reference page it lists a bunch of…
How to learn about WFP ?
i want to learn what is wfp and to set it up in my PC and create my own filters so any idea how to do that? also any resources i can learn it fast?
Virtual Camera - Capture Image frame from Opencv and pass to Directshow Filter for virtual Camera application
I am working on a virtual camera application . This virtual camera should be able to shown under the list of available camera device from application like Zoom . Now in my application there are two part . One part is Directshow capture source filter and…
how to get the (s,s1) in the arrow?using direct2d?
I draw a line and I know the two points one of them is (x,y) and then I want to draw arraw. and I can not get the axis of the (s,s1) because the arraw may have different directions.
Win32Api Network Adapter set Power Managament
Hello! I want to change Network adapter's power managament settings. I want to check 3 checkboxes. I searched this on google but i couldn't successfull. I changed…
How to retrieve clipboard format and data from any application
How can I use Visual Basic (VB) to retrieve the format and data stored on the clipboard of any running application? I want to build a tool that extracts this information. As you can see in the program, I copy and paste the rectangle. I want to retrieve…
How to create the MouseDown event on the desktop screen
How can I create a MouseDown event on the desktop screen using Visual Basic? I want to trigger a specific action when the left mouse button is clicked. Any suggestions or examples would be appreciated. I got such a response, but it is not possible to…
TSF/IME question. (programming issue)
I am currently developing a ThirdParty Hangul IME using Microsoft text service framework (aka TSF). I have one problem, which I am not able to solve. I have 2 questions. TSF related question. ITfLangBarItemButton::InitMenu(ITfMenu *pMenu) is not…
How to automatically download trusted root certificate authority
There is a difference in behavior with the open-source curl.exe, and the curl.exe natively included in Windows. When making a request with Windows native curl.exe, if a trusted root certificate authority such as one listed here is not found in the local…
Why does WerRegisterAppLocalDump API not work with packaged apps?
Hello, I tried to use the WerRegisterAppLocalDump API in a packaged WinUI 3 app. The function returns HRESULT 0, so success. But if you try to crash the app, no crash dump file is created in any directory of the app data (especially not "relative…
How to Add Tooltips to Buttons and other UI Components (like - Checkbox, Radio button etc) in Win32 (C++) Desktop Application?
Hi there, I have a Win32 (C++) program on which I want to Add some Tooltips to some of it's UI components like - Button, Checkbox, Radio button. I tried a lot but nothing works. Here is my Demo program : #include <windows.h> struct { int…
Register Audio Codec (IMFTransform) to be seen in media player
I've successfully registered an audio codec (x64,x86) for Media Foundation and third-party apps to use. MF can load an MP4 which contains audio compressed with it. However, the default Windows 11 Media Player won't. As I see, my DLL is not even loaded,…
How to Implement an Additional Biometric Layer After Basic Authentication in Windows Using a Custom Credential Provider?
By default Windows has a basic (e.g. password or pin ...) authentication-flow for PC machines. Our goal is to extend current level of authentication with additional biometric factors (e.g. fingerprint, 3D-face ...) to be implemented by 3rd-party vendors…
FwpmFilterAdd occasionally fails with return code 31
I am creating Ipsec tunnel using Windows Filtering Platform API in the process. Code is on the line of example provided at https://learn.microsoft.com/en-us/windows/win32/fwp/using-transport-mode Code works 95% percent of the times But for some…
access excption or stack broken when I show the IFileOpenDialog in second time?
I want to use IFileOpenDialog int DialogBox CoCreateInstance(CLSID_FileOpenDialog,NULL,CLSCTX_INPROC_SERVER,__uuidof(IFileOpenDialog),(void**)&file); DWORD dwFlags; file->GetOptions(&dwFlags); file->SetOptions(dwFlags|FOS_PICKFOLDERS); in…
how to not paint window any more?
I create a window and I do not want it re- render itselft. I will draw something in WM_CREATE and then it do not render again. how to do it? no matter I maximize or minimalize it will not render itsselft.
How to display menu by NotifyIcon without displaying the form in Taskbar
I have a form with a NotifyIcon and a ContextMenuStrip and I want to display the menu by clicking on the notification, but unfortunately it is displayed in the taskbar. Why? I tried setting the ShowInTaskbar property to false, but it didn't work.Tip Only…