Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Style Inspector

, 12 Dec 2004 CPOL
Free tool (with source code) to inspect style.
si.zip
StyleInspector.exe
si_src.zip
StyleInspector
Debug
Release
res
icon1.ico
idr_main.ico
ie.bmp
StyleInspector.ico
StyleInspector.clw
StyleInspector.dep
StyleInspector.dsp
StyleInspector.dsw
StyleInspector.mak
// Author:		Dr. Puiu
// Creation:	2004

// MyInfoDlg.cpp : implementation file
//

#include "stdafx.h"
#include "StyleInspector.h"
#include "MyInfoDlg.h"

#include "StyleInspectorDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CMyInfoDlg dialog


CMyInfoDlg::CMyInfoDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CMyInfoDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CMyInfoDlg)
	m_strLink = _T("");
	m_strStyleClass = _T("");
	//}}AFX_DATA_INIT
}


void CMyInfoDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CMyInfoDlg)
	DDX_Control(pDX, IDC_LIST_WINDOWS, m_lbWindows);
	DDX_Text(pDX, IDC_STATIC_LINK, m_strLink);
	DDX_Text(pDX, IDC_EDIT_CLASS, m_strStyleClass);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CMyInfoDlg, CDialog)
	//{{AFX_MSG_MAP(CMyInfoDlg)
	ON_LBN_SELCHANGE(IDC_LIST_WINDOWS, OnSelchangeListWindows)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMyInfoDlg message handlers

void CMyInfoDlg::OnSelchangeListWindows() 
{
	// TODO: Add your control notification handler code here
	CStyleInspectorDlg *pMain = (CStyleInspectorDlg *)AfxGetMainWnd();

	if ( !pMain ) return;
	pMain->m_bPageIsLoadedAndSelected = false;
	pMain->SetTimer(2222, 100, NULL); // start polling the busy status of the browser
}

void CMyInfoDlg::ActOnSelchangeListWindows()
{
	OnSelchangeListWindows();
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Mircea Puiu
Software Developer (Senior)
Europe Europe
More than 22 years of software development experience.
SCRUM Master nowadays

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141220.1 | Last Updated 13 Dec 2004
Article Copyright 2004 by Mircea Puiu
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid