Click here to Skip to main content
14,303,730 members

ATL / WTL / STL

 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 3:29
memberlolici13-Mar-17 3:29 
GeneralRe: Text editor in vc++ Pin
Jochen Arndt13-Mar-17 3:47
mveJochen Arndt13-Mar-17 3:47 
GeneralRe: Text editor in vc++ Pin
lolici13-Mar-17 4:07
memberlolici13-Mar-17 4:07 
QuestionHow to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 3:14
memberlolici9-Mar-17 3:14 
AnswerRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 5:22
protectorRichard MacCutchan9-Mar-17 5:22 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 5:51
memberlolici9-Mar-17 5:51 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan9-Mar-17 6:07
protectorRichard MacCutchan9-Mar-17 6:07 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici9-Mar-17 6:54
memberlolici9-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 :/
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
protectorRichard MacCutchan9-Mar-17 8:23 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
lolici10-Mar-17 4:29
memberlolici10-Mar-17 4:29 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
Richard MacCutchan10-Mar-17 4:38
protectorRichard MacCutchan10-Mar-17 4:38 
GeneralRe: How to give data dynamically in a dialog box using visual c++ Pin
ThatsAlok11-May-17 20:51
memberThatsAlok11-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
protectorRichard 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
protectorRichard 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
protectorRichard MacCutchan9-Feb-17 20:51 
GeneralRe: STL std::string help needed Pin
Jochen Arndt9-Feb-17 21:13
mveJochen 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
mveJochen Arndt9-Feb-17 23:35 
PraiseRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 23:53
professionalVISWESWARAN19989-Feb-17 23:53 
PraiseRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 23:07
professionalVISWESWARAN19989-Feb-17 23:07 
AnswerRe: STL std::string help needed Pin
Jochen Arndt8-Feb-17 22:29
mveJochen Arndt8-Feb-17 22:29 
GeneralRe: STL std::string help needed Pin
VISWESWARAN19989-Feb-17 4:00
professionalVISWESWARAN19989-Feb-17 4: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.