Original Post
I am almost finishing with my AIM progie.. lol actually customized auto answering machine. But at the last moment, I decide to implement everything to a class so I can upload my module to somewhere without being embarassed but little problem. I don't remember if the static class Functions would work same as static data members? just Curious.. I gotta get this thing over with.
you know.. forget about apstring. lol I got lazy and decided to use the famous College Board's String file lol. Hate to keep track of chars and lazy to make a new class for my own use. oh well.. lol.. thanks guys.
[edited by - yangdh15 on May 30, 2002 12:03:26 PM]
class IMBox{
private:
HWND m_Handle;
apstring m_ScreenName;
apstring m_OriginalText;
apstring *m_ParsedTextPointer;
int m_MessageRecived;
int m_CurrentMessageIndex;
static bool m_fnRetriveText();
static bool m_fnSendTexT(const apstring &szText);
public:
IMBox();
IMBox(const apstring &ScreenName);
~IMBox();
static apstring SendText(const apstring &szTexT);
static apstring GetNextText();
static apstring ParseHTML(apstring &szText, apstring &szNextCode);
static AIMMESSAGE ParseAIM(apstring &szText);
};