Click here to Skip to main content
15,113,531 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 4:29
Memberlolici13-Mar-17 4:29 
GeneralRe: Text editor in vc++ Pin
Jochen Arndt13-Mar-17 4:47
professionalJochen Arndt13-Mar-17 4:47 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 5:07
Memberlolici13-Mar-17 5:07 
QuestionHow to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 4:14
Memberlolici9-Mar-17 4:14 
AnswerRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 6:22
mveRichard MacCutchan9-Mar-17 6:22 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 6:51
Memberlolici9-Mar-17 6:51 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 7:07
mveRichard MacCutchan9-Mar-17 7:07 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 7:54
Memberlolici9-Mar-17 7:54 
I have created a dialog box in which I insert data about conductors (resistivity, permeability, diameter etc (electric power systems Smile | :) )) in edit boxes but I have done it only for 3 conductors. I have to insert-edit the number of conductors and then edit their characteristics. But I can't use again edit boxes because this is static. I want something like a dynamic table which will have rows=number of conductors and columns about is characteristic (resistivity, permeability, diameter)and edit them in dialog box. I don't know how to upload my executable to male clear what I have done but here is a part of my code for the static case of three conductors Smile | :) I want another dynamic way to edit data :/
C++
void CInputView::OnLinefeaturesFeatures()
{
	// TODO: Add your command handler code here
	CInputDoc* pDoc = GetDocument();
	CFeaturesDialog DialogWindow;
	DialogWindow.m_DialogCon = m_NumCond;
	DialogWindow.m_DialogLayers = m_Layers;
	DialogWindow.m_DialogPermeability = m_AirPermeability;
	DialogWindow.m_DialogAirConductivity = m_AirConductivity;
	DialogWindow.m_DialogAirPermittivity = m_AirPermittivity;
	DialogWindow.m_DialogEarthPermeability1 = m_EarthPermeability1;
	DialogWindow.m_DialogEarthConductivity1 = m_EarthConductivity1;
	DialogWindow.m_DialogEarthPermittivity1 = m_EarthPermittivity;
	DialogWindow.m_DialogDepth = m_depth;
	DialogWindow.m_DialogEarthPermeability2 = m_EarthPermeability2;
	DialogWindow.m_DialogEarthConductivity2 = m_EarthConductivity2;
	DialogWindow.m_DialogEarthPermittivity2 = m_EarthPermittivity2;
	DialogWindow.m_Dialogfrequency = m_frequency;
	if (DialogWindow.DoModal() == IDOK)
	{
		m_NumCond = DialogWindow.m_DialogCon;
		m_Layers = DialogWindow.m_DialogLayers;
		m_AirPermeability = DialogWindow.m_DialogPermeability;
		m_AirConductivity = DialogWindow.m_DialogAirConductivity;
		m_AirPermittivity = DialogWindow.m_DialogAirPermittivity;
		m_EarthPermeability1 = DialogWindow.m_DialogEarthPermeability1;
		m_EarthConductivity1 = DialogWindow.m_DialogEarthConductivity1;
		m_EarthPermittivity = DialogWindow.m_DialogEarthPermittivity1;
		m_depth = DialogWindow.m_DialogDepth;
		m_EarthPermeability2 = DialogWindow.m_DialogEarthPermeability2;
		m_EarthConductivity2 = DialogWindow.m_DialogEarthConductivity2;
		m_EarthPermittivity2 = DialogWindow.m_DialogEarthPermittivity2;
		m_frequency = DialogWindow.m_Dialogfrequency;
	}
	


}

GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 9:23
mveRichard MacCutchan9-Mar-17 9:23 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici10-Mar-17 5:29
Memberlolici10-Mar-17 5:29 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan10-Mar-17 5:38
mveRichard MacCutchan10-Mar-17 5:38 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
ThatsAlok11-May-17 21:51
MemberThatsAlok11-May-17 21:51 
QuestionSTL std::string help needed Pin
VISWESWARAN19988-Feb-17 8:02
professionalVISWESWARAN19988-Feb-17 8:02 
AnswerRe: STL std::string help needed Pin
Richard MacCutchan8-Feb-17 23:09
mveRichard MacCutchan8-Feb-17 23:09 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 4:59
professionalVISWESWARAN19989-Feb-17 4:59 
GeneralRe: STL std::string help needed Pin
Richard MacCutchan9-Feb-17 6:24
mveRichard MacCutchan9-Feb-17 6:24 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 20:53
professionalVISWESWARAN19989-Feb-17 20:53 
GeneralRe: STL std::string help needed Pin
Richard MacCutchan9-Feb-17 21:51
mveRichard MacCutchan9-Feb-17 21:51 
GeneralRe: STL std::string help needed Pin
Jochen Arndt9-Feb-17 22:13
professionalJochen Arndt9-Feb-17 22:13 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 22:56
professionalVISWESWARAN19989-Feb-17 22:56 
GeneralRe: STL std::string help needed Pin
Jochen Arndt10-Feb-17 0:35
professionalJochen Arndt10-Feb-17 0:35 
PraiseRe: STL std::string help needed Pin
VISWESWARAN199810-Feb-17 0:53
professionalVISWESWARAN199810-Feb-17 0:53 
PraiseRe: STL std::string help needed Pin
VISWESWARAN199810-Feb-17 0:07
professionalVISWESWARAN199810-Feb-17 0:07 
AnswerRe: STL std::string help needed Pin
Jochen Arndt8-Feb-17 23:29
professionalJochen Arndt8-Feb-17 23:29 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 5:00
professionalVISWESWARAN19989-Feb-17 5:00 

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.