lParam to LPNMHDR
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I’m trying to use wndProc for ListView in C#. LRESULT CALLBACK MainWndProc( HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam) { switch (uMessage) { case WM_NOTIFY: ListViewNotify(hWnd, lParam) } } LRESULT ListViewNotify(HWND hWnd, LPARAM lParam) { //Any idea how can I write following code in C#. //C Code is LPNMHDR lpnmh = (LPNMHDR) lParam; // Translate in C#??????? } Any help on this would be great.