DefSubclassProc | ||||||||||||
Syntax: | ||||||||||||
DefSubclassProc( hWnd, uMsg, wParam, lParam ) | ||||||||||||
Parameters: | ||||||||||||
| ||||||||||||
Return Values: | ||||||||||||
| ||||||||||||
Description: | ||||||||||||
Calls the next handler in a window's subclass chain. The last handler in the subclass chain calls the original window procedure for the window. | ||||||||||||
Example: | ||||||||||||
Procedure Callback(hwnd,uMsg,wParam,lParam,uId,uData) ProcedureReturn DefSubclassProc(hwnd,uMsg,wParam,lParam) EndProcedure hwnd = OpenWindow(0,#PB_Ignore,#PB_Ignore,200,200,"SubClass") SetWindowSubclass(hwnd,@Callback(),0,0) Repeat event = WaitWindowEvent() Until event = #PB_Event_CloseWindow | ||||||||||||
|