Click here to Skip to main content
15,921,577 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: toolbar and CColorDialog Pin
Sarath C8-Jul-06 2:26
Sarath C8-Jul-06 2:26 
Questionhow we can get specitfied port is running or not Pin
johnalek8-Jul-06 0:34
johnalek8-Jul-06 0:34 
AnswerRe: how we can get specitfied port is running or not [modified] Pin
Sarath C8-Jul-06 0:47
Sarath C8-Jul-06 0:47 
GeneralRe: how we can get specitfied port is running or not [modified] Pin
johnalek8-Jul-06 0:58
johnalek8-Jul-06 0:58 
GeneralRe: how we can get specitfied port is running or not Pin
Sarath C8-Jul-06 2:19
Sarath C8-Jul-06 2:19 
GeneralRe: how we can get specitfied port is running or not Pin
ThatsAlok9-Jul-06 20:22
ThatsAlok9-Jul-06 20:22 
Questionproblem in fucntion calling Pin
Amit Agarrwal8-Jul-06 0:27
Amit Agarrwal8-Jul-06 0:27 
AnswerRe: problem in fucntion calling Pin
Sarath C8-Jul-06 0:42
Sarath C8-Jul-06 0:42 
aavesh wrote:
or calling a listbox control variable i have made a object of dialog class within the display function and with the help of this object i call the listbox control variable and add the string into the list box.


I think wha you were doing is wrong.

Seems you need something like this.

this is code can't be applied directly... Just a logic "how to do"

class CXYZ
{
public:
	SetListBoxHandle(CListBox* pListBox);
	Display();
};

class CMyDialog
{
private:
	CXYZ m_xyz;
	CListBox m_ListBox;
	BOOL OnInitDialog()
	{
		m_xyz.SetListBoxHandle(&m_pListBox);
	}
	void OnBtnClick()
	{
		m_xyz.Display();
	}
};


SaRath.

"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"

<blink>My Blog | Understanding State Patte

GeneralRe: problem in fucntion calling Pin
Amit Agarrwal8-Jul-06 2:51
Amit Agarrwal8-Jul-06 2:51 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal8-Jul-06 3:39
Amit Agarrwal8-Jul-06 3:39 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 0:48
Sarath C9-Jul-06 0:48 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal9-Jul-06 19:49
Amit Agarrwal9-Jul-06 19:49 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 19:56
Sarath C9-Jul-06 19:56 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal9-Jul-06 21:19
Amit Agarrwal9-Jul-06 21:19 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 21:39
Sarath C9-Jul-06 21:39 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal9-Jul-06 21:55
Amit Agarrwal9-Jul-06 21:55 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 22:05
Sarath C9-Jul-06 22:05 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal9-Jul-06 22:25
Amit Agarrwal9-Jul-06 22:25 
GeneralRe: problem in fucntion calling Pin
Sarath C9-Jul-06 22:32
Sarath C9-Jul-06 22:32 
GeneralRe: problem in fucntion calling Pin
Amit Agarrwal8-Jul-06 3:42
Amit Agarrwal8-Jul-06 3:42 
Questionidentify right click on button [modified] Pin
Dinu John7-Jul-06 23:47
Dinu John7-Jul-06 23:47 
AnswerRe: identify right on button Pin
Sarath C7-Jul-06 23:55
Sarath C7-Jul-06 23:55 
GeneralRe: identify right on button Pin
Dinu John8-Jul-06 0:20
Dinu John8-Jul-06 0:20 
GeneralRe: identify right on button Pin
Sarath C8-Jul-06 0:32
Sarath C8-Jul-06 0:32 
AnswerRe: identify right on button Pin
Justin Tay8-Jul-06 0:20
Justin Tay8-Jul-06 0:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.