Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

½Ð°Ý Borland C++ Builder

0 views
Skip to first unread message

T.K.LIN

unread,
Mar 12, 1997, 3:00:00 AM3/12/97
to

case WM_COMMAND:
{
switch ((DWORD) wParam)
{

case ID_SETTINGS_CONFIGURE:

/* get current port settings */
lrc = sizeof(COMMCONFIG);
GetCommConfig (hComm, &cc, &lrc);
/* display dialog to modify settings */
if (!CommConfigDialog(lpszCommName, hWnd, &cc))

^^^^^
如何取得hWnd的參數

break;
/* write new settings */
if (!SetCommState (hComm, &cc.dcb))
break;
break;


T.K.LIN

unread,
Mar 12, 1997, 3:00:00 AM3/12/97
to

SDK 程式如下

case WM_COMMAND:
{
switch ((DWORD) wParam)
{

case ID_SETTINGS_CONFIGURE:

/* get current port settings */
lrc = sizeof(COMMCONFIG);
GetCommConfig (hComm, &cc, &lrc);
/* display dialog to modify settings */
if (!CommConfigDialog(lpszCommName, hWnd, &cc))

^^^^^

請問要如何取得

0 new messages