Thread View: att.lang.c++
1 messages
1 total messages
Started by user name
Fri, 02 Apr 1999 00:00
load variable with function address
Author: user name
Date: Fri, 02 Apr 1999 00:00
Date: Fri, 02 Apr 1999 00:00
20 lines
1040 bytes
1040 bytes
Hi, I want to pass a variable to SetWindowLong' last param to set up a subclass function. I'm trying to declare and load this variable. // Declaration of the variable to hold the pointer to the address of my WNDPROC LRESULT (APIENTRY *pfStatusBarSubClassProc)( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); // line to load the variable with the pointer address of my WNDPROC pfStatusBarSubClassProc= StatusBarSubClassProc; The compiler doesn't like this. Why? Please also Email me any suggestions at timber@lasercom.net Thanks
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads