Top "Wndproc" questions

WndProc is a .NET method that process Windows messages.

How to handle WndProc messages in WPF?

In Windows Forms, I'd just override WndProc, and start handling messages as they came in. Can someone show me an …

c# wpf wndproc
C# ListView Disable Horizontal Scrollbar

is there a way I can stop the horizontal scroll bar from ever showing up in a listview? I want …

c# winforms horizontal-scrolling wndproc
How to receive Plug & Play device notifications without a windows form

I am trying to write a class library that can catch the windows messages to notify me if a device …

c# overriding console-application winforms wndproc
Form WM_KEYDOWN and WM_KEYUP messages aren't captured in WndProc

Form keydown and keyup messages aren't captured: public partial class Form1 : Form { const int WM_KEYDOWN = 0x100; const int WM_…

c# wndproc windows-messages
How to use this WndProc in Windows Forms application?

Please guide me how to use this WndProc in Windows Forms application: private IntPtr WndProc(IntPtr hwnd, int msg, IntPtr …

c# winforms wndproc
WndProc: How to get window messages when form is minimized

To communicate with a certain service, I have to override the WindProc. and receive window messages. However, when the form …

c# wndproc
How do I send/receive windows messages between VB6 and c#?

I know I can receive messages with the code below in c#, how do I send to vb6, and receive …

c# vb6 wndproc
C++ Changing HWND Window Procedure in runtime

I'm working in an IDE which creates a hwnd and its respective WndProc LRESULT CALLBACK. I need to change the …

c++ winapi runtime wndproc hwnd
WPF Borderless Window issues: Aero Snap & Maximizing

I've created a borderless WPF window by setting the following window properties in XAML: ... WindowStyle="None" AllowsTransparency="True" ... This causes …

c# wpf aero wndproc
Sending/Receiving a string through PostMessage

Although there are already a few resources online that address this rough topic, I still haven't found an answer that …

c++ vb.net winapi wndproc param