Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCommand Line in VC Pin
krisbee25-Feb-05 9:51
krisbee25-Feb-05 9:51 
GeneralRe: Command Line in VC Pin
David Crow25-Feb-05 9:52
David Crow25-Feb-05 9:52 
GeneralRe: Command Line in VC Pin
Michael Dunn25-Feb-05 12:19
sitebuilderMichael Dunn25-Feb-05 12:19 
GeneralMore property sheet questions Pin
bcemick25-Feb-05 9:46
bcemick25-Feb-05 9:46 
GeneralRe: More property sheet questions Pin
David Crow25-Feb-05 9:51
David Crow25-Feb-05 9:51 
GeneralRe: More property sheet questions Pin
bcemick25-Feb-05 10:03
bcemick25-Feb-05 10:03 
GeneralRe: More property sheet questions Pin
David Crow25-Feb-05 10:05
David Crow25-Feb-05 10:05 
GeneralRe: More property sheet questions Pin
bcemick25-Feb-05 10:13
bcemick25-Feb-05 10:13 
Oh.

Here's the code:

BOOL CPropertyPage::OnInitDialog()
{
CPropertyPage::OnInitDialog();

// TODO: Add extra initialization here
SetColumnHeaders();

return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}

void CPropertyPage::SetColumnHeaders()
{

m_lstPage1.InsertColumn(0, "Text here", LVCFMT_CENTER, 50, -1);
m_lstPage1.InsertColumn(1, "Text here", LVCFMT_LEFT, 100, -1);
m_lstPage1.InsertColumn(2, "Text here", LVCFMT_CENTER, 100, -1);
m_lstPage1.InsertColumn(3, "Text here", LVCFMT_CENTER, 100, -1);
m_lstPage1.InsertColumn(4, "Text here", LVCFMT_RIGHT, 100, -1);
m_lstPage1.InsertColumn(5, "Text here", LVCFMT_CENTER, 100, -1);
m_lstPage1.InsertColumn(6, "Text here", LVCFMT_CENTER, 100, -1);

}

This is all inside the Property Page class.
GeneralRe: More property sheet questions Pin
bcemick25-Feb-05 11:11
bcemick25-Feb-05 11:11 
GeneralRe: More property sheet questions Pin
David Crow26-Feb-05 3:16
David Crow26-Feb-05 3:16 
GeneralRe: More property sheet questions Pin
PJ Arends25-Feb-05 14:00
professionalPJ Arends25-Feb-05 14:00 
QuestionHow To: USB communications Pin
bouli25-Feb-05 9:09
bouli25-Feb-05 9:09 
AnswerRe: How To: USB communications Pin
namaskaaram27-Feb-05 17:19
namaskaaram27-Feb-05 17:19 
GeneralSwitch between Unicode and ANSI Pin
hyling25-Feb-05 8:24
hyling25-Feb-05 8:24 
GeneralRe: Switch between Unicode and ANSI Pin
David Crow25-Feb-05 9:07
David Crow25-Feb-05 9:07 
GeneralRe: Switch between Unicode and ANSI Pin
hyling25-Feb-05 9:42
hyling25-Feb-05 9:42 
GeneralRe: Switch between Unicode and ANSI Pin
hyling25-Feb-05 11:04
hyling25-Feb-05 11:04 
GeneralAnimate Control and AVI file. Pin
TUMB25-Feb-05 5:10
TUMB25-Feb-05 5:10 
GeneralRe: Animate Control and AVI file. Pin
namaskaaram27-Feb-05 17:16
namaskaaram27-Feb-05 17:16 
GeneralEnumWindows error Pin
cj_rahul25-Feb-05 4:48
cj_rahul25-Feb-05 4:48 
GeneralRe: EnumWindows error Pin
PJ Arends25-Feb-05 6:02
professionalPJ Arends25-Feb-05 6:02 
GeneralRe: EnumWindows error Pin
ThatsAlok25-Feb-05 17:43
ThatsAlok25-Feb-05 17:43 
GeneralAdd buttons to a Property Sheet Pin
bcemick25-Feb-05 4:44
bcemick25-Feb-05 4:44 
GeneralRe: Add buttons to a Property Sheet Pin
PJ Arends25-Feb-05 6:47
professionalPJ Arends25-Feb-05 6:47 
GeneralRe: Add buttons to a Property Sheet Pin
bcemick25-Feb-05 7:57
bcemick25-Feb-05 7:57 

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.