Click here to Skip to main content
15,902,636 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IP address - getting programmatically Pin
Mike Dimmick29-Jul-03 13:16
Mike Dimmick29-Jul-03 13:16 
GeneralRe: IP address - getting programmatically Pin
Anonymous24-Aug-03 19:22
Anonymous24-Aug-03 19:22 
GeneralRe: IP address - getting programmatically Pin
Mike Dimmick25-Aug-03 22:24
Mike Dimmick25-Aug-03 22:24 
GeneralCustom Tab Control Woes... Pin
adonisv29-Jul-03 12:30
adonisv29-Jul-03 12:30 
GeneralRe: Custom Tab Control Woes... Pin
Dave Bryant29-Jul-03 13:33
Dave Bryant29-Jul-03 13:33 
GeneralRe: Custom Tab Control Woes... Pin
adonisv29-Jul-03 17:08
adonisv29-Jul-03 17:08 
GeneralRe: Custom Tab Control Woes... Pin
Dave Bryant29-Jul-03 17:12
Dave Bryant29-Jul-03 17:12 
GeneralRe: Custom Tab Control Woes... Pin
adonisv29-Jul-03 17:50
adonisv29-Jul-03 17:50 
Ok, yeah, I didn't make extra dialogs to add to the initial dialog. But...now I can see my tab but there's no caption!! Mad | :mad: NO TAB!

I keep throwing an error here...Confused | :confused:

int CTabCtrlSSL::AddPage (LPCTSTR pszTitle, int nPageID, TabDelete tabDelete) {<br />
	// Add a page to the tab control.<br />
		// Initialize the page.<br />
		if (OnInitPage (nIndex, nPageID)) {<br />
		THROW ERROR_>	// Make sure the first control in the dialog is the one that<br />
			// receives the input focus when the page is displayed.<br />
			HWND hwndFocus = tabDelete.pTabPage->GetTopWindow ()->m_hWnd;<br />
			nArrayIndex = m_hFocusWnd.Add (hwndFocus);<br />
			ASSERT (nIndex == nArrayIndex);<br />
		}<br />
		else {<br />
			// Make the control that currently has the input focus is the one<br />
			// that receives the input focus when the page is displayed.<br />
			m_hFocusWnd.Add (::GetFocus ());<br />
		}<br />
<br />
	}<br />
	return nIndex;<br />
}




Calling code...

BOOL RDialogForEditingCanalObjects::OnInitDialog() <br />
{<br />
	CDialog::OnInitDialog();<br />
	int nPageID = 0;<br />
<br />
	 this->m_ctrlEditObjectTabs.AddSSLPage (_T("Database"),nPageID++,IDD_DATABASE_TAB); <br />
<br />
	return TRUE;  // return TRUE unless you set the focus to a control<br />
	              // EXCEPTION: OCX Property Pages should return FALSE<br />
}


Unsure | :~ <-Clueless
GeneralThis control is screwy and unstable! Pin
adonisv30-Jul-03 9:34
adonisv30-Jul-03 9:34 
GeneralHelp with CExpire Pin
Juan Carlos Cobas29-Jul-03 12:28
Juan Carlos Cobas29-Jul-03 12:28 
GeneralRe: Help with CExpire Pin
pranavamhari29-Jul-03 18:04
pranavamhari29-Jul-03 18:04 
GeneralRe: Help with CExpire Pin
Toni7829-Jul-03 18:14
Toni7829-Jul-03 18:14 
GeneralRe: Help with CExpire Pin
Juan Carlos Cobas30-Jul-03 3:04
Juan Carlos Cobas30-Jul-03 3:04 
GeneralRe: Help with CExpire Pin
pranavamhari30-Jul-03 6:11
pranavamhari30-Jul-03 6:11 
Questionhow to create a sub DC in a DC? Pin
CaesarCZ29-Jul-03 12:17
CaesarCZ29-Jul-03 12:17 
AnswerRe: how to create a sub DC in a DC? Pin
Ravi Bhavnani29-Jul-03 12:30
professionalRavi Bhavnani29-Jul-03 12:30 
Generalfilling and passing SAFEARRAYS Pin
bigeyedfish8129-Jul-03 10:56
bigeyedfish8129-Jul-03 10:56 
GeneralGet ChildFrame from CDocument (MDI app) Pin
Wim Jans29-Jul-03 10:41
Wim Jans29-Jul-03 10:41 
GeneralRe: Get ChildFrame from CDocument (MDI app) Pin
Neville Franks29-Jul-03 11:08
Neville Franks29-Jul-03 11:08 
GeneralRe: Get ChildFrame from CDocument (MDI app) Pin
Wim Jans29-Jul-03 11:28
Wim Jans29-Jul-03 11:28 
GeneralSpeeding Up ComboBox Entry Pin
vss11129-Jul-03 10:04
vss11129-Jul-03 10:04 
GeneralRe: Speeding Up ComboBox Entry Pin
John M. Drescher29-Jul-03 10:15
John M. Drescher29-Jul-03 10:15 
GeneralRe: Speeding Up ComboBox Entry Pin
Alexander M.,29-Jul-03 10:29
Alexander M.,29-Jul-03 10:29 
GeneralRe: Speeding Up ComboBox Entry Pin
Beer2629-Jul-03 10:34
Beer2629-Jul-03 10:34 
GeneralRe: Speeding Up ComboBox Entry Pin
armentage30-Jul-03 3:03
armentage30-Jul-03 3:03 

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.