Querying Information From a Control Window

rc = WinQueryDlgItemText(hDlgBox,                  /* Parent dialog box  */
                         EF_PRODNAME,              /* Control identifier */
                         sizeof(szBuffer),         /* Size of buffer     */
                         szBuffer);                /* Pointer to buffer  */


[Back: Communicating with a Control Window]
[Next: Inserting an Item Into a List Box]