Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SMTP & CAsyncSocket Pin
Joaquín M López Muñoz22-Feb-02 1:08
Joaquín M López Muñoz22-Feb-02 1:08 
GeneralRe: SMTP & CAsyncSocket Pin
Jon Hulatt22-Feb-02 3:16
Jon Hulatt22-Feb-02 3:16 
QuestionCan anyone help me with this syntax error. Pin
John Cruz21-Feb-02 23:59
John Cruz21-Feb-02 23:59 
AnswerRe: Can anyone help me with this syntax error. Pin
22-Feb-02 0:09
suss22-Feb-02 0:09 
AnswerRe: Can anyone help me with this syntax error. Pin
Bruce Duncan22-Feb-02 4:39
Bruce Duncan22-Feb-02 4:39 
GeneralRe: Can anyone help me with this syntax error. Pin
John Cruz22-Feb-02 9:24
John Cruz22-Feb-02 9:24 
GeneralRe: Can anyone help me with this syntax error. Pin
Carlos Antollini22-Feb-02 9:38
Carlos Antollini22-Feb-02 9:38 
GeneralToolBar Button Pin
Ralfy21-Feb-02 23:28
Ralfy21-Feb-02 23:28 
I created a ToolBar using TBSTYLE_LIST style.Used following code to add buttons and Icons. I want to place icon on the left of ButtonText, but the Icons cover the button text(cascade),why?Confused | :confused:
void CMyToolBar::AddSomeButton()
{
	// ..........
	SetButtons(NULL,n);		// add some blank button
	GetToolBarCtrl().SetImageList(image);
	for(int i=0; i< n ;i++)
	{
		// ..........
		SetButtonInfo(i, nID, TBSTYLE_AUTOSIZE|BTNS_SHOWTEXT, iImage);
		SetButtonText(i, lpszText);
		
		/*	following code doesn't work properly also
		TBBUTTON tbb;
		// ..........
		GetToolBarCtrl().AddButtons(1,&tbb);
		*/
	}
/*
	SetSizes(CSize(24,23),CSize(16,15));
	GetToolBarCtrl().SetBitmapSize(CSize(16,15));
	Invalidate();
*/
}



Thanx
GeneralRe: ToolBar Button Pin
Mazdak22-Feb-02 1:40
Mazdak22-Feb-02 1:40 
GeneralRe: ToolBar Button Pin
Ralfy22-Feb-02 14:59
Ralfy22-Feb-02 14:59 
GeneralRe: ToolBar Button Pin
Shog922-Feb-02 5:13
sitebuilderShog922-Feb-02 5:13 
GeneralRe: ToolBar Button Pin
Ralfy22-Feb-02 15:03
Ralfy22-Feb-02 15:03 
GeneralRe: ToolBar Button Pin
Shog922-Feb-02 15:56
sitebuilderShog922-Feb-02 15:56 
QuestionIs there WinAPI equivalent to strrchr() ? Pin
21-Feb-02 23:26
suss21-Feb-02 23:26 
AnswerRe: Is there WinAPI equivalent to strrchr() ? Pin
Jon Hulatt22-Feb-02 0:23
Jon Hulatt22-Feb-02 0:23 
GeneralRe: Is there WinAPI equivalent to strrchr() ? Pin
22-Feb-02 0:41
suss22-Feb-02 0:41 
GeneralRe: Is there WinAPI equivalent to strrchr() ? Pin
Joaquín M López Muñoz22-Feb-02 0:47
Joaquín M López Muñoz22-Feb-02 0:47 
GeneralRe: Is there WinAPI equivalent to strrchr() ? Pin
Gavin Jerman22-Feb-02 2:00
Gavin Jerman22-Feb-02 2:00 
GeneralRe: Is there WinAPI equivalent to strrchr() ? Pin
Nish Nishant22-Feb-02 3:09
sitebuilderNish Nishant22-Feb-02 3:09 
GeneralRe: Is there WinAPI equivalent to strrchr() ? Pin
Joaquín M López Muñoz22-Feb-02 3:21
Joaquín M López Muñoz22-Feb-02 3:21 
AnswerRe: Is there WinAPI equivalent to strrchr() ? Pin
Nish Nishant22-Feb-02 3:10
sitebuilderNish Nishant22-Feb-02 3:10 
GeneralUuidCreate under windows CE Pin
Emmanuel Derriey21-Feb-02 22:43
Emmanuel Derriey21-Feb-02 22:43 
QuestionHow to Get System Resources utilization Pin
21-Feb-02 21:56
suss21-Feb-02 21:56 
GeneralMFC Document/View - New Milestone :: C++ Pin
valikac21-Feb-02 20:52
valikac21-Feb-02 20:52 
GeneralRe: MFC Document/View - New Milestone :: C++ Pin
Paul M Watt21-Feb-02 21:18
mentorPaul M Watt21-Feb-02 21:18 

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.