Click here to Skip to main content
15,867,308 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 2:42
lolici13-Mar-17 2:42 
GeneralRe: Text editor in vc++ Pin
Jochen Arndt13-Mar-17 2:53
professionalJochen Arndt13-Mar-17 2:53 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 3:15
lolici13-Mar-17 3:15 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 3:29
lolici13-Mar-17 3:29 
GeneralRe: Text editor in vc++ Pin
Jochen Arndt13-Mar-17 3:47
professionalJochen Arndt13-Mar-17 3:47 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 4:07
lolici13-Mar-17 4:07 
QuestionHow to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 3:14
lolici9-Mar-17 3:14 
AnswerRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 5:22
mveRichard MacCutchan9-Mar-17 5:22 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 5:51
lolici9-Mar-17 5:51 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 6:07
mveRichard MacCutchan9-Mar-17 6:07 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 6:54
lolici9-Mar-17 6: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 8:23
mveRichard MacCutchan9-Mar-17 8:23 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici10-Mar-17 4:29
lolici10-Mar-17 4:29 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan10-Mar-17 4:38
mveRichard MacCutchan10-Mar-17 4:38 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
ThatsAlok11-May-17 20:51
ThatsAlok11-May-17 20:51 
QuestionSTL std::string help needed Pin
VISWESWARAN19988-Feb-17 7:02
professionalVISWESWARAN19988-Feb-17 7:02 
AnswerRe: STL std::string help needed Pin
Richard MacCutchan8-Feb-17 22:09
mveRichard MacCutchan8-Feb-17 22:09 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 3:59
professionalVISWESWARAN19989-Feb-17 3:59 
GeneralRe: STL std::string help needed Pin
Richard MacCutchan9-Feb-17 5:24
mveRichard MacCutchan9-Feb-17 5:24 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 19:53
professionalVISWESWARAN19989-Feb-17 19:53 
GeneralRe: STL std::string help needed Pin
Richard MacCutchan9-Feb-17 20:51
mveRichard MacCutchan9-Feb-17 20:51 
GeneralRe: STL std::string help needed Pin
Jochen Arndt9-Feb-17 21:13
professionalJochen Arndt9-Feb-17 21:13 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 21:56
professionalVISWESWARAN19989-Feb-17 21:56 
GeneralRe: STL std::string help needed Pin
Jochen Arndt9-Feb-17 23:35
professionalJochen Arndt9-Feb-17 23:35 
PraiseRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 23:53
professionalVISWESWARAN19989-Feb-17 23:53 

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.