Click here to Skip to main content
15,905,558 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaladd text on a jpeg file Pin
johnsmith29-Jul-03 16:04
johnsmith29-Jul-03 16:04 
GeneralRe: add text on a jpeg file Pin
johnsmith30-Jul-03 19:36
johnsmith30-Jul-03 19:36 
Questionswitch cpp and h in vc7 ide? Pin
novachen29-Jul-03 14:18
novachen29-Jul-03 14:18 
GeneralIP address - getting programmatically Pin
john john mackey29-Jul-03 12:41
john john mackey29-Jul-03 12:41 
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 
I keep getting a crash when I try to call the CTabCtrlSSL.. Cry | :((

 int CTabCtrlSSL::AddSSLPage (LPCTSTR pszTitle, int nPageID, LPCTSTR pszTemplateName) {<br />
	// Verify that the dialog template is compatible with CTabCtrlSSL<br />
	// (debug builds only). If your app asserts here, make sure the dialog<br />
	// resource you're adding to the view is a borderless child window and<br />
	// is not marked visible.<br />
#ifdef _DEBUG<br />
	if (pszTemplateName != NULL) {<br />
		BOOL bResult = CheckDialogTemplate  (pszTemplateName);<br />
<br />
		//The debugger points here -> ASSERT (bResult);<br />
<br />
	}<br />
#endif // _DEBUG 




As a result of this code.. OMG | :OMG:

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



void CSacmanEditorView::OnEditPipedGate() <br />
{<br />
	RDialogForEditingCanalObjects dlg;<br />
	dlg.DoModal();<br />
}


Frown | :(

Whazzzzaaaa??? Dead | X|
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 
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 

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.