New Presentation Manager Functions

┌────────────────────────────────────────┬──────────────────────────────┐
│Method Name                             │Description                   │
├────────────────────────────────────────┼──────────────────────────────┤
│WinNotebookButtonFromID                 │This function exports a       │
│                                        │convience function to find    │
│                                        │BS_NOTEBOOKBUTTON buttons.    │
│                                        │WinNotebookButtonFromID, given│
│                                        │the HWND of the dialog of the │
│                                        │properties page and the ID of │
│                                        │the button along with the     │
│                                        │button of the properties page │
│                                        │(for example, Undo, Default,  │
│                                        │or Help), returns the HWND for│
│                                        │that button.  This is used    │
│                                        │with the buttons of the       │
│                                        │BS_NOTEBOOKBUTTON style.      │
│                                        │Ownership of buttons of this  │
│                                        │style is changed from the     │
│                                        │dialog to the notebook after  │
│                                        │the dialog is loaded.         │
├────────────────────────────────────────┼──────────────────────────────┤
│WinWaitForShell                         │This function allows          │
│                                        │applications to wait for the  │
│                                        │Shell to be available.        │
│                                        │WinWaitForShell is used by an │
│                                        │application when it needs to  │
│                                        │wait for the Workplace Shell  │
│                                        │to be available in order for  │
│                                        │the application to continue.  │
│                                        │For example, the application  │
│                                        │might be started in           │
│                                        │STARTUP.CMD, and yet it wants │
│                                        │to create objects on the      │
│                                        │Workplace Shell.  The         │
│                                        │application can use           │
│                                        │WinWaitForShell to wait for   │
│                                        │the Workplace Shell to be     │
│                                        │ready to start receiving the  │
│                                        │create requests. By using the │
│                                        │optional query bit, it can    │
│                                        │check on those conditions     │
│                                        │without waiting on them.      │
└────────────────────────────────────────┴──────────────────────────────┘


[Back: New Methods]
[Next: How to Use this Book]