Jump to content

WinDefAVioWindowProc: Difference between revisions

From EDM2
Created page with " ==Syntax== WinDefAVioWindowProc(HWND hwnd, USHORT msg, ULONG mp1, ULONG mp2) Category:The OS/2 API Project"
 
Ak120 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This call invokes the default AVIO window procedure.


==Syntax==
WinDefAVioWindowProc (hwnd, msg, mp1, mp2)
==Parameters==
;hwnd (HWND) - input: Window handle
;msg (USHORT) - input: Message identity
;mp1 (MPARAM) - input: Parameter 1
;mp2 (MPARAM) - input: Parameter 2
Return
;mresreply (MRESULT) - return:Message return data
==Remarks==
Applications using AVIO must pass all WM_SIZE messages for the window with which the AVIO presentation space is associated to this routine, using the same parameters as are received in the WM_SIZE message. This routine maintains the window size data in the presentation space, and must be called before the application accesses the window.


==Syntax==
This call is not a replacement for ''WinDefWindowProc'', which must also be called as usual, to process any messages that have not been handled by the application's window procedure.
  WinDefAVioWindowProc(HWND hwnd, USHORT msg, ULONG mp1, ULONG mp2)
 
==C Bindings==
<code>
#define INCL_AVIO /* Or use INCL_PM */
  MRESULT mresreply = WinDefAVioWindowProc (hwnd, usMsgid, mpParam1, mpParam2)
HWND    hwnd;      /* Window handle */
USHORT  usMsgid;  /* Message identity */
MPARAM  mpParam1;  /* Parameter 1 */
MPARAM  mpParam2;  /* Parameter 2 */
MRESULT mresreply; /* Message return data */
</code>


[[Category:The OS/2 API Project]]
[[Category:Win]]

Latest revision as of 18:24, 28 November 2018

This call invokes the default AVIO window procedure.

Syntax

WinDefAVioWindowProc (hwnd, msg, mp1, mp2)

Parameters

hwnd (HWND) - input
Window handle
msg (USHORT) - input
Message identity
mp1 (MPARAM) - input
Parameter 1
mp2 (MPARAM) - input
Parameter 2

Return

mresreply (MRESULT) - return
Message return data

Remarks

Applications using AVIO must pass all WM_SIZE messages for the window with which the AVIO presentation space is associated to this routine, using the same parameters as are received in the WM_SIZE message. This routine maintains the window size data in the presentation space, and must be called before the application accesses the window.

This call is not a replacement for WinDefWindowProc, which must also be called as usual, to process any messages that have not been handled by the application's window procedure.

C Bindings

#define INCL_AVIO /* Or use INCL_PM */

MRESULT mresreply = WinDefAVioWindowProc (hwnd, usMsgid, mpParam1, mpParam2)

HWND    hwnd;      /* Window handle */
USHORT  usMsgid;   /* Message identity */
MPARAM  mpParam1;  /* Parameter 1 */
MPARAM  mpParam2;  /* Parameter 2 */

MRESULT mresreply; /* Message return data */