InetSendCreateWinCmd Example for C++ 5.0 and later
short nRet;
CString csOut;
nRet = m_pRasterInet->InetSendCreateWinCmd(999,
"", "Window Created By Remote",
0, 100, 50, 300, 150, 0);
if((nRet != 0) && (nRet != ERROR_DATA_QUEUED))
{
csOut.Format(TEXT("ERROR %d calling InetSendCreateWinCmd."),
nRet);
AfxMessageBox(csOut);
}
else
AfxMessageBox(TEXT("InetSendCreateWinCmd Executed."));