Jump to content

BOOKPAGEINFO: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 25: Line 25:
typedef  BOOKPAGEINFO  * PBOOKPAGEINFO ;
typedef  BOOKPAGEINFO  * PBOOKPAGEINFO ;
</PRE>
</PRE>
==Fields==
; cb (ULONG)
:Size of the page information structure.
; fl (ULONG)
:Flag indicating which page attributes are to be set.
:;BFA_BIDIINFO
::Reserved for bi-directional support.
:;BFA_MAJORTABBITMAP
::Set/query major tab bit map.
:;BFA_MAJORTABTEXT
::Set/query major tab text.
:;BFA_MINORTABBITMAP
::Set/query minor tab bit map.
:;BFA_MINORTABTEXT
::Set/query minor tab text.
:;BFA_PAGEDATA
::Set/query page data.
:;BFA_PAGEFROMDLGRES
::Set/query page window handle from a dialog resource.
:;BFA_PAGEFROMDLGTEMPLATE
::Set/query page window handle from a dialog template.
:;BFA_PAGEFROMHWND
::Set/query page window handle.
:;BFA_STATUSLINE
::Set/query status text.
; bLoadDlg (BOOL)
:Load dialog flag.
:;TRUE
::Load dialog immediately.
:;FALSE
::Load dialog on page turn.
; ulPageData (ULONG)
:Data to associate with the notebook page.
; hwndPage (HWND)
:Handle to associate with the notebook page.
; pfnPageDlgProc (PFN)
:Dialog procedure.
; idPageDlg (ULONG)
: Dialog id.
; hmodPageDlg (HMODULE)
:Resource handle.
; pPageDlgCreateParam (PVOID)
:Dialog create parameters.
; pdlgtPage (PDLGTEMPLATE)
:Dialog template.
; cbStatusLine (ULONG)
:Length of status line text.
; pszStatusLine (PSZ)
:Status line text string.
; hbmMajorTab (HBITMAP)
:Major tab bit map handle.
; hbmMinorTab (HBITMAP)
:Minor tab bit map handle.
; cbMajorTab (ULONG)
:Length of major tab text.
; pszMajorTab (PSZ)
:Major tab text string.
; cbMinorTab (ULONG)
:Length of minor tab text.
; pszMinorTab (PSZ)
:Minor tab text string.
;pBidiInfo (PVOID)
:Reserved for bi-directional support.
[[Category:PM Data type]]
[[Category:PM Data type]]

Revision as of 18:48, 25 May 2024

Notebook page information structure.

 typedef struct _BOOKPAGEINFO {
   ULONG       cb;                // length of control data in bytes
   ULONG       fl;                // page flags - BFA_
   BOOL        bLoadDlg;          // load dialog now?
   ULONG       ulPageData;        // data to associate with page
   HWND        hwndPage;          // hwnd to associate with page
   PFN         pfnPageDlgProc;    // auto load of dialogs for app
   ULONG       idPageDlg;         // id of page
   HMODULE     hmodPageDlg;       // resource info
   PVOID       pPageDlgParams;    // page creation presentation parameters
   PDLGTEMPLATE  pdlgtPage;
   ULONG       cbStatusLine;      // page flags - BFA_
   PSZ         pszStatusLine;     // status line text string
   HBITMAP     hbmMajorTab;       // major tab bitmap handle
   HBITMAP     hbmMinorTab;       // minor tab bitmap handle
   ULONG       cbMajorTab;        // page flags - BFA_
   PSZ         pszMajorTab;       // major tab text string
   ULONG       cbMinorTab;        // page flags - BFA_
   PSZ         pszMinorTab;       // minor tab text string
   PVOID       pBidiInfo;         // reserved
 } BOOKPAGEINFO, *PBOOKPAGEINFO;

typedef   BOOKPAGEINFO   * PBOOKPAGEINFO ;

Fields

cb (ULONG)
Size of the page information structure.
fl (ULONG)
Flag indicating which page attributes are to be set.
BFA_BIDIINFO
Reserved for bi-directional support.
BFA_MAJORTABBITMAP
Set/query major tab bit map.
BFA_MAJORTABTEXT
Set/query major tab text.
BFA_MINORTABBITMAP
Set/query minor tab bit map.
BFA_MINORTABTEXT
Set/query minor tab text.
BFA_PAGEDATA
Set/query page data.
BFA_PAGEFROMDLGRES
Set/query page window handle from a dialog resource.
BFA_PAGEFROMDLGTEMPLATE
Set/query page window handle from a dialog template.
BFA_PAGEFROMHWND
Set/query page window handle.
BFA_STATUSLINE
Set/query status text.
bLoadDlg (BOOL)
Load dialog flag.
TRUE
Load dialog immediately.
FALSE
Load dialog on page turn.
ulPageData (ULONG)
Data to associate with the notebook page.
hwndPage (HWND)
Handle to associate with the notebook page.


pfnPageDlgProc (PFN)
Dialog procedure.
idPageDlg (ULONG)
Dialog id.
hmodPageDlg (HMODULE)
Resource handle.
pPageDlgCreateParam (PVOID)
Dialog create parameters.
pdlgtPage (PDLGTEMPLATE)
Dialog template.
cbStatusLine (ULONG)
Length of status line text.
pszStatusLine (PSZ)
Status line text string.
hbmMajorTab (HBITMAP)
Major tab bit map handle.
hbmMinorTab (HBITMAP)
Minor tab bit map handle.
cbMajorTab (ULONG)
Length of major tab text.
pszMajorTab (PSZ)
Major tab text string.
cbMinorTab (ULONG)
Length of minor tab text.


pszMinorTab (PSZ)
Minor tab text string.
pBidiInfo (PVOID)
Reserved for bi-directional support.