Click here to Skip to main content
15,893,337 members
Articles / Desktop Programming / MFC

GroupTalk - A multicast based group conference application

Rate me:
Please Sign up or sign in to vote.
3.46/5 (15 votes)
17 Jun 20043 min read 61.9K   4.5K   33  
A multicast based group conference application
//////////////////////////////////////////////////////////////////////////////
//
//   GroupTalk 
//   Multicasting based conference application
//
//   Author : Nagareshwar Y Talekar
//
//   Name : GroupTalk dialog class
//   Description : ....
//
//////////////////////////////////////////////////////////////////////////////



#if !defined(AFX_MULTICAST_H__18BBBF75_9BF1_11D7_8887_601753C10001__INCLUDED_)
#define AFX_MULTICAST_H__18BBBF75_9BF1_11D7_8887_601753C10001__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include<afxwin.h>
#include"MultSocket.h"
#include"Myedit.h"
#include "About.h"

class Multicast : public CDialog 
{
public:
	CListBox *userlist,*recvlist;
	CButton *radGroup,*radUser;
	CComboBox *cmbUser;
	CScrollBar *sc_vert;
	MultSocket *msock;
	char send[525];
	char username[200];
	char curuser[50];
	char mesg[525];
	BOOL isJoin,isGroup,isEnable;
	CMenu *menu;
	CFont efont,sfont;
	CEdit *sendbox;
	CButton *sendbutton,*clearbutton;
	MyEdit *m_edit;
	CString m_text;
	CBitmap sbmp,cbmp;
	char m_path[200];
	int usercount;
	int m_count;


	Multicast(int n);
	BOOL OnInitDialog();
	void OnPaint();
	HBRUSH OnCtlColor(CDC *pdc,CWnd *pwnd,UINT ctrl);
	void OnSize(UINT type,int cx,int cy);

	void DoDataExchange(CDataExchange* pDX);
	void Join();
	void OnClear();
	
	void Leave();
	void OnAbout();
	void OnRadio(int id);
	void OnSend();
	void OnCancel();
	void OnDestroy();

	void DispMesg(char *);
	void OnSelectUser();
	void OnEraseBkgnd(CDC *pdc);
	void OnEndSession(BOOL bend);

DECLARE_MESSAGE_MAP()

};

#endif // !defined(AFX_MULTICAST_H__18BBBF75_9BF1_11D7_8887_601753C10001__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
India India
Nagareshwar is a security enthusiastic person involved in reverse engineering, vulnerability research, coding security tools etc. He spend most of the time in uncovering the secrets of computer world.

He holds 'Bachelor of Engineering' degree from National Institute of Technology of Karnataka, India. He had professional experience of 2.5 years in Novell. At Novell he was working on various security products including 'Novell Secure Login' and CASA.

For more details visit his website http://securityxploded.com

Comments and Discussions