Receiving a DM_PRINTOBJECT Message

case DM_PRINTOBJECT:
     WinMessageBox(HWND_DESKTOP,                /* Display message box   */
                   hWnd,                        /* Curr window is owner  */
                   "Printing customer details", /* Message box text      */
                   "Print Message Received",    /* Message box title     */
                   0,                           /* No identifier         */
                   MB_OK);                      /* Include okay button   */

     <Extract DRAGITEM pointer from mp1>
     <Extract print queue name from mp2>

     <Print item>

     break;


[Back: Drag Initiation From a Container Window]
[Next: Handling the DM_DRAGOVER Message]