From 839697c9bc14b5331d8e2737d5a7d83cedf12c55 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 11 Jan 2010 13:44:04 +0000 Subject: [PATCH] 2010-01-11 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/tests/netiotst.prg * added netio_disconnect() to test code * harbour/ChangeLog * harbour/examples/gtwvw/gtwvw.c ! replaced TABs with spaces * harbour/contrib/hbnetio/tests/hbmk.hbm * harbour/examples/hbdoc/examples/hbmisc/readme.txt * harbour/examples/gtwvw/hbgtwvw.h * harbour/examples/gtwvw/hbole.h ! fixed hardcoded \r\n EOLs * harbour/src/vm/strapi.c * harbour/src/common/strwild.c * harbour/src/nortl/nortl.c * harbour/src/nortl/Makefile * harbour/src/rtl/hbascii.c * harbour/src/rtl/hbsocket.c * harbour/src/rtl/hbbffnc.c * harbour/src/rtl/hbznet.c * harbour/src/rtl/hbbfish.c * harbour/src/rtl/hbbyte.c * harbour/src/codepage/uc646_yu.c * harbour/src/codepage/cphriso.c * harbour/src/rdd/dbrename.c * harbour/tests/cpinfo.prg * harbour/include/hbmsgreg.h * harbour/include/hbgtreg.h * harbour/include/hbznet.h * harbour/include/hbmather.h * harbour/include/hbsocket.ch * harbour/include/hbtrace.ch * harbour/include/hbapistr.h * harbour/include/hbiniseg.h * harbour/include/hbsocket.h * harbour/include/hbbfish.h * harbour/include/hbcdpreg.h * harbour/include/hbfloat.h * harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp * harbour/contrib/hbqt/qtgui/QDragEnterEvent.cpp * harbour/contrib/hbqt/qtgui/TQToolBox.prg * harbour/contrib/hbqt/qtgui/QGridLayout.cpp * harbour/contrib/hbqt/qtgui/TQTreeView.prg * harbour/contrib/hbqt/qtgui/TQTextCharFormat.prg * harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp * harbour/contrib/hbqt/qtgui/TQTextLine.prg * harbour/contrib/hbqt/qtgui/QConicalGradient.cpp * harbour/contrib/hbqt/qtgui/QTextLength.cpp * harbour/contrib/hbqt/qtgui/TQInputEvent.prg * harbour/contrib/hbqt/qtgui/TQWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQTextItem.prg * harbour/contrib/hbqt/qtgui/QGradient.cpp * harbour/contrib/hbqt/qtgui/TQTimeEdit.prg * harbour/contrib/hbqt/qtgui/TQDropEvent.prg * harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp * harbour/contrib/hbqt/qtgui/QItemSelection.cpp * harbour/contrib/hbqt/qtgui/TQTextObject.prg * harbour/contrib/hbqt/qtgui/TQPainterPath.prg * harbour/contrib/hbqt/qtgui/QTransform.cpp * harbour/contrib/hbqt/qtgui/QPicture.cpp * harbour/contrib/hbqt/qtgui/QAction.cpp * harbour/contrib/hbqt/qtgui/QPaintEvent.cpp * harbour/contrib/hbqt/qtgui/TQStyleHintReturn.prg * harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp * harbour/contrib/hbqt/qtgui/QWidget.cpp * harbour/contrib/hbqt/qtgui/TQProgressBar.prg * harbour/contrib/hbqt/qtgui/TQFontDatabase.prg * harbour/contrib/hbqt/qtgui/QFontDialog.cpp * harbour/contrib/hbqt/qtgui/QToolBox.cpp * harbour/contrib/hbqt/qtgui/TQLineEdit.prg * harbour/contrib/hbqt/qtgui/TQHBoxLayout.prg * harbour/contrib/hbqt/qtgui/QTextListFormat.cpp * harbour/contrib/hbqt/qtgui/QMouseEvent.cpp * harbour/contrib/hbqt/qtgui/QTextEdit.cpp * harbour/contrib/hbqt/qtgui/TQToolBar.prg * harbour/contrib/hbqt/qtgui/TQTreeWidget.prg * harbour/contrib/hbqt/qtgui/QFontComboBox.cpp * harbour/contrib/hbqt/qtgui/TQSplitter.prg * harbour/contrib/hbqt/qtgui/QStyle.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp * harbour/contrib/hbqt/qtgui/TQComboBox.prg * harbour/contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp * harbour/contrib/hbqt/qtgui/QListView.cpp * harbour/contrib/hbqt/qtgui/QWheelEvent.cpp * harbour/contrib/hbqt/qtgui/TQAbstractItemDelegate.prg * harbour/contrib/hbqt/qtgui/TQSessionManager.prg * harbour/contrib/hbqt/qtgui/QRadialGradient.cpp * harbour/contrib/hbqt/qtgui/QLayout.cpp * harbour/contrib/hbqt/qtgui/QCursor.cpp * harbour/contrib/hbqt/qtgui/TQProgressDialog.prg * harbour/contrib/hbqt/qtgui/QPainterPath.cpp * harbour/contrib/hbqt/qtgui/QLabel.cpp * harbour/contrib/hbqt/qtgui/TQBoxLayout.prg * harbour/contrib/hbqt/qtgui/TQPolygon.prg * harbour/contrib/hbqt/qtgui/QFocusEvent.cpp * harbour/contrib/hbqt/qtgui/QBrush.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturn.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * harbour/contrib/hbqt/qtgui/QStylePainter.cpp * harbour/contrib/hbqt/qtgui/TQRadioButton.prg * harbour/contrib/hbqt/qtgui/TQSystemTrayIcon.prg * harbour/contrib/hbqt/qtgui/QLinearGradient.cpp * harbour/contrib/hbqt/qtgui/TQListWidgetItem.prg * harbour/contrib/hbqt/qtgui/QProgressBar.cpp * harbour/contrib/hbqt/qtgui/TQTextBlock.prg * harbour/contrib/hbqt/qtgui/TQTextFrame.prg * harbour/contrib/hbqt/qtgui/QDragLeaveEvent.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionViewItem.prg * harbour/contrib/hbqt/qtgui/TQInputContext.prg * harbour/contrib/hbqt/qtgui/QClipboard.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * harbour/contrib/hbqt/qtgui/QToolBar.cpp * harbour/contrib/hbqt/qtgui/TQStatusBar.prg * harbour/contrib/hbqt/qtgui/TQTextBlockFormat.prg * harbour/contrib/hbqt/qtgui/TQTextFrameFormat.prg * harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp * harbour/contrib/hbqt/qtgui/TQTabWidget.prg * harbour/contrib/hbqt/qtgui/TQLCDNumber.prg * harbour/contrib/hbqt/qtgui/TQMainWindow.prg * harbour/contrib/hbqt/qtgui/QToolButton.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg * harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp * harbour/contrib/hbqt/qtgui/TQDockWidget.prg * harbour/contrib/hbqt/qtgui/QColor.cpp * harbour/contrib/hbqt/qtgui/QListWidget.cpp * harbour/contrib/hbqt/qtgui/QTextLayout.cpp * harbour/contrib/hbqt/qtgui/QTextCursor.cpp * harbour/contrib/hbqt/qtgui/TQSound.prg * harbour/contrib/hbqt/qtgui/QTextDocument.cpp * harbour/contrib/hbqt/qtgui/TQHelpEvent.prg * harbour/contrib/hbqt/qtgui/QAbstractProxyModel.cpp * harbour/contrib/hbqt/qtgui/QPolygon.cpp * harbour/contrib/hbqt/qtgui/TQGradient.prg * harbour/contrib/hbqt/qtgui/TQAbstractPrintDialog.prg * harbour/contrib/hbqt/qtgui/QRadioButton.cpp * harbour/contrib/hbqt/qtgui/TQWizard.prg * harbour/contrib/hbqt/qtgui/TQApplication.prg * harbour/contrib/hbqt/qtgui/QAbstractButton.cpp * harbour/contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp * harbour/contrib/hbqt/qtgui/TQTextOption.prg * harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp * harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp * harbour/contrib/hbqt/qtgui/TQInputDialog.prg * harbour/contrib/hbqt/qtgui/TQMovie.prg * harbour/contrib/hbqt/qtgui/TQKeySequence.prg * harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * harbour/contrib/hbqt/qtgui/QBitmap.cpp * harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp * harbour/contrib/hbqt/qtgui/TQPrinter.prg * harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * harbour/contrib/hbqt/qtgui/QHeaderView.cpp * harbour/contrib/hbqt/qtgui/QScrollBar.cpp * harbour/contrib/hbqt/qtgui/TQActionGroup.prg * harbour/contrib/hbqt/qtgui/TQTextEdit.prg * harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp * harbour/contrib/hbqt/qtgui/TQWizardPage.prg * harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp * harbour/contrib/hbqt/qtgui/TQFontComboBox.prg * harbour/contrib/hbqt/qtgui/QFocusFrame.cpp * harbour/contrib/hbqt/qtgui/QSizePolicy.cpp * harbour/contrib/hbqt/qtgui/TQListView.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg * harbour/contrib/hbqt/qtgui/QAbstractPrintDialog.cpp * harbour/contrib/hbqt/qtgui/QApplication.cpp * harbour/contrib/hbqt/qtgui/TQTextBlockGroup.prg * harbour/contrib/hbqt/qtgui/QAbstractSlider.cpp * harbour/contrib/hbqt/qtgui/QTextFragment.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg * harbour/contrib/hbqt/qtgui/Makefile * harbour/contrib/hbqt/qtgui/QAbstractScrollArea.cpp * harbour/contrib/hbqt/qtgui/TQPrintEngine.prg * harbour/contrib/hbqt/qtgui/TQStylePainter.prg * harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp * harbour/contrib/hbqt/qtgui/QInputDialog.cpp * harbour/contrib/hbqt/qtgui/QKeySequence.cpp * harbour/contrib/hbqt/qtgui/QPrinter.cpp * harbour/contrib/hbqt/qtgui/TQMessageBox.prg * harbour/contrib/hbqt/qtgui/QKeyEvent.cpp * harbour/contrib/hbqt/qtgui/QActionGroup.cpp * harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp * harbour/contrib/hbqt/qtgui/TQFontMetricsF.prg * harbour/contrib/hbqt/qtgui/TQDragMoveEvent.prg * harbour/contrib/hbqt/qtgui/QInputEvent.cpp * harbour/contrib/hbqt/qtgui/QWidgetItem.cpp * harbour/contrib/hbqt/qtgui/TQCommonStyle.prg * harbour/contrib/hbqt/qtgui/QMenu.cpp * harbour/contrib/hbqt/qtgui/TQWindowsStyle.prg * harbour/contrib/hbqt/qtgui/TQPushButton.prg * harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * harbour/contrib/hbqt/qtgui/TQDoubleSpinBox.prg * harbour/contrib/hbqt/qtgui/QTextObject.cpp * harbour/contrib/hbqt/qtgui/TQTreeWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQTableView.prg * harbour/contrib/hbqt/qtgui/TQTextDocument.prg * harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * harbour/contrib/hbqt/qtgui/QPrintEngine.cpp * harbour/contrib/hbqt/qtgui/QFontInfo.cpp * harbour/contrib/hbqt/qtgui/QImage.cpp * harbour/contrib/hbqt/qtgui/TQButtonGroup.prg * harbour/contrib/hbqt/qtgui/TQFrame.prg * harbour/contrib/hbqt/qtgui/TQCompleter.prg * harbour/contrib/hbqt/qtgui/QValidator.cpp * harbour/contrib/hbqt/qtgui/TQTextFormat.prg * harbour/contrib/hbqt/qtgui/QIcon.cpp * harbour/contrib/hbqt/qtgui/TQColorDialog.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg * harbour/contrib/hbqt/qtgui/QPolygonF.cpp * harbour/contrib/hbqt/qtgui/TQFileIconProvider.prg * harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp * harbour/contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg * harbour/contrib/hbqt/qtgui/QTreeWidget.cpp * harbour/contrib/hbqt/qtgui/QCommonStyle.cpp * harbour/contrib/hbqt/qtgui/TQTextDocumentWriter.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTab.prg * harbour/contrib/hbqt/qtgui/TQStringListModel.prg * harbour/contrib/hbqt/qtgui/QAbstractItemView.cpp * harbour/contrib/hbqt/qtgui/QSessionManager.cpp * harbour/contrib/hbqt/qtgui/TQTextBrowser.prg * harbour/contrib/hbqt/qtgui/QProgressDialog.cpp * harbour/contrib/hbqt/qtgui/TQTableWidget.prg * harbour/contrib/hbqt/qtgui/TQTabBar.prg * harbour/contrib/hbqt/qtgui/TQSpacerItem.prg * harbour/contrib/hbqt/qtgui/QButtonGroup.cpp * harbour/contrib/hbqt/qtgui/QStyleFactory.cpp * harbour/contrib/hbqt/qtgui/TQDialog.prg * harbour/contrib/hbqt/qtgui/TQFileDialog.prg * harbour/contrib/hbqt/qtgui/TQStandardItemModel.prg * harbour/contrib/hbqt/qtgui/TQFormLayout.prg * harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp * harbour/contrib/hbqt/qtgui/TQItemSelection.prg * harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QColorDialog.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * harbour/contrib/hbqt/qtgui/TQFileSystemModel.prg * harbour/contrib/hbqt/qtgui/TQAbstractSpinBox.prg * harbour/contrib/hbqt/qtgui/TQTextFragment.prg * harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp * harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp * harbour/contrib/hbqt/qtgui/TQTransform.prg * harbour/contrib/hbqt/qtgui/TQVBoxLayout.prg * harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * harbour/contrib/hbqt/qtgui/QMoveEvent.cpp * harbour/contrib/hbqt/qtgui/TQImageWriter.prg * harbour/contrib/hbqt/qtgui/QMainWindow.cpp * harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp * harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * harbour/contrib/hbqt/qtgui/QWidgetAction.cpp * harbour/contrib/hbqt/qtgui/TQMenuBar.prg * harbour/contrib/hbqt/qtgui/QStringListModel.cpp * harbour/contrib/hbqt/qtgui/TQKeyEvent.prg * harbour/contrib/hbqt/qtgui/QDockWidget.cpp * harbour/contrib/hbqt/qtgui/TQPaintDevice.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg * harbour/contrib/hbqt/qtgui/TQFontMetrics.prg * harbour/contrib/hbqt/qtgui/QTextBrowser.cpp * harbour/contrib/hbqt/qtgui/TQStyle.prg * harbour/contrib/hbqt/qtgui/QTableWidget.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionHeader.prg * harbour/contrib/hbqt/qtgui/TQMenu.prg * harbour/contrib/hbqt/qtgui/TQMatrix.prg * harbour/contrib/hbqt/qtgui/QErrorMessage.cpp * harbour/contrib/hbqt/qtgui/QWizard.cpp * harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp * harbour/contrib/hbqt/qtgui/TQPrintDialog.prg * harbour/contrib/hbqt/qtgui/QAbstractSpinBox.cpp * harbour/contrib/hbqt/qtgui/TQPrintPreviewDialog.prg * harbour/contrib/hbqt/qtgui/TQLabel.prg * harbour/contrib/hbqt/qtgui/QDial.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionComboBox.prg * harbour/contrib/hbqt/qtgui/TQSlider.prg * harbour/contrib/hbqt/qtgui/TQFontInfo.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionToolButton.prg * harbour/contrib/hbqt/qtgui/QTextOption.cpp * harbour/contrib/hbqt/qtgui/TQBrush.prg * harbour/contrib/hbqt/qtgui/QImageWriter.cpp * harbour/contrib/hbqt/qtgui/TQScrollArea.prg * harbour/contrib/hbqt/qtgui/TQIcon.prg * harbour/contrib/hbqt/qtgui/TQLayoutItem.prg * harbour/contrib/hbqt/qtgui/TQPolygonF.prg * harbour/contrib/hbqt/qtgui/TQPixmap.prg * harbour/contrib/hbqt/qtgui/QMenuBar.cpp * harbour/contrib/hbqt/qtgui/TQClipboard.prg * harbour/contrib/hbqt/qtgui/TQTextImageFormat.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg * harbour/contrib/hbqt/qtgui/QPaintDevice.cpp * harbour/contrib/hbqt/qtgui/QFontMetrics.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * harbour/contrib/hbqt/qtgui/QWizardPage.cpp * harbour/contrib/hbqt/qtgui/TQImageReader.prg * harbour/contrib/hbqt/qtgui/QDropEvent.cpp * harbour/contrib/hbqt/qtgui/TQAbstractItemView.prg * harbour/contrib/hbqt/qtgui/TQColor.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionComplex.prg * harbour/contrib/hbqt/qtgui/QTextBlockGroup.cpp * harbour/contrib/hbqt/qtgui/QPrintDialog.cpp * harbour/contrib/hbqt/qtgui/TQRegion.prg * harbour/contrib/hbqt/qtgui/QStandardItem.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * harbour/contrib/hbqt/qtgui/TQStyleFactory.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg * harbour/contrib/hbqt/qtgui/TQPalette.prg * harbour/contrib/hbqt/qtgui/QSplashScreen.cpp * harbour/contrib/hbqt/qtgui/TQDateTimeEdit.prg * harbour/contrib/hbqt/qtgui/QSizeGrip.cpp * harbour/contrib/hbqt/qtgui/TQInputMethodEvent.prg * harbour/contrib/hbqt/qtgui/TQPainter.prg * harbour/contrib/hbqt/qtgui/QMessageBox.cpp * harbour/contrib/hbqt/qtgui/TQResizeEvent.prg * harbour/contrib/hbqt/qtgui/TQTextTableFormat.prg * harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg * harbour/contrib/hbqt/qtgui/QGroupBox.cpp * harbour/contrib/hbqt/qtgui/QImageReader.cpp * harbour/contrib/hbqt/qtgui/TQDragEnterEvent.prg * harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp * harbour/contrib/hbqt/qtgui/QPushButton.cpp * harbour/contrib/hbqt/qtgui/TQWidgetAction.prg * harbour/contrib/hbqt/qtgui/TQGridLayout.prg * harbour/contrib/hbqt/qtgui/TQScrollBar.prg * harbour/contrib/hbqt/qtgui/TQItemSelectionModel.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionButton.prg * harbour/contrib/hbqt/qtgui/TQTextLength.prg * harbour/contrib/hbqt/qtgui/TQCommandLinkButton.prg * harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QBoxLayout.cpp * harbour/contrib/hbqt/qtgui/TQErrorMessage.prg * harbour/contrib/hbqt/qtgui/QTextFormat.cpp * harbour/contrib/hbqt/qtgui/QPalette.cpp * harbour/contrib/hbqt/qtgui/QTextFrame.cpp * harbour/contrib/hbqt/qtgui/QTextBlock.cpp * harbour/contrib/hbqt/qtgui/QPainter.cpp * harbour/contrib/hbqt/qtgui/TQDial.prg * harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * harbour/contrib/hbqt/qtgui/QResizeEvent.cpp * harbour/contrib/hbqt/qtgui/TQTableWidgetItem.prg * harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp * harbour/contrib/hbqt/qtgui/TQAction.prg * harbour/contrib/hbqt/qtgui/TQPaintEvent.prg * harbour/contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp * harbour/contrib/hbqt/qtgui/QStatusBar.cpp * harbour/contrib/hbqt/qtgui/TQStyledItemDelegate.prg * harbour/contrib/hbqt/qtgui/TQPlainTextEdit.prg * harbour/contrib/hbqt/qtgui/QTextInlineObject.cpp * harbour/contrib/hbqt/qtgui/QTabWidget.cpp * harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp * harbour/contrib/hbqt/qtgui/QLCDNumber.cpp * harbour/contrib/hbqt/qtgui/TQWidget.prg * harbour/contrib/hbqt/qtgui/TQFontDialog.prg * harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp * harbour/contrib/hbqt/qtgui/QDateEdit.cpp * harbour/contrib/hbqt/qtgui/TQStyleOption.prg * harbour/contrib/hbqt/qtgui/TQTextListFormat.prg * harbour/contrib/hbqt/qtgui/TQMouseEvent.prg * harbour/contrib/hbqt/qtgui/QCheckBox.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionSlider.prg * harbour/contrib/hbqt/qtgui/QSound.cpp * harbour/contrib/hbqt/qtgui/QHelpEvent.cpp * harbour/contrib/hbqt/qtgui/QTabBar.cpp * harbour/contrib/hbqt/qtgui/QSpacerItem.cpp * harbour/contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg * harbour/contrib/hbqt/qtgui/QFileDialog.cpp * harbour/contrib/hbqt/qtgui/QDirModel.cpp * harbour/contrib/hbqt/qtgui/QDialog.cpp * harbour/contrib/hbqt/qtgui/TQWheelEvent.prg * harbour/contrib/hbqt/qtgui/QFormLayout.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp * harbour/contrib/hbqt/qtgui/TQRadialGradient.prg * harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * harbour/contrib/hbqt/qtgui/QFont.cpp * harbour/contrib/hbqt/qtgui/TQCursor.prg * harbour/contrib/hbqt/qtgui/TQLayout.prg * harbour/contrib/hbqt/qtgui/TQStandardItem.prg * harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp * harbour/contrib/hbqt/qtgui/TQFocusEvent.prg * harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp * harbour/contrib/hbqt/qtgui/TQImage.prg * harbour/contrib/hbqt/qtgui/TQSpinBox.prg * harbour/contrib/hbqt/qtgui/QMovie.cpp * harbour/contrib/hbqt/qtgui/TQValidator.prg * harbour/contrib/hbqt/qtgui/TQLinearGradient.prg * harbour/contrib/hbqt/qtgui/TQSplashScreen.prg * harbour/contrib/hbqt/qtgui/TQDragLeaveEvent.prg * harbour/contrib/hbqt/qtgui/TQSizeGrip.prg * harbour/contrib/hbqt/qtgui/QStyleOption.cpp * harbour/contrib/hbqt/qtgui/TQStyleHintReturnMask.prg * harbour/contrib/hbqt/qtgui/QTreeView.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBox.prg * harbour/contrib/hbqt/qtgui/QTextLine.cpp * harbour/contrib/hbqt/qtgui/TQGroupBox.prg * harbour/contrib/hbqt/qtgui/TQTextDocumentFragment.prg * harbour/contrib/hbqt/qtgui/QTextItem.cpp * harbour/contrib/hbqt/qtgui/TQToolButton.prg * harbour/contrib/hbqt/qtgui/QTimeEdit.cpp * harbour/contrib/hbqt/qtgui/QMatrix.cpp * harbour/contrib/hbqt/qtgui/TQListWidget.prg * harbour/contrib/hbqt/qtgui/TQPen.prg * harbour/contrib/hbqt/qtgui/TQTextCursor.prg * harbour/contrib/hbqt/qtgui/TQTextLayout.prg * harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * harbour/contrib/hbqt/qtgui/TQAbstractProxyModel.prg * harbour/contrib/hbqt/qtgui/QSlider.cpp * harbour/contrib/hbqt/qtgui/QSpinBox.cpp * harbour/contrib/hbqt/qtgui/QScrollArea.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg * harbour/contrib/hbqt/qtgui/TQAbstractButton.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg * harbour/contrib/hbqt/qtgui/QFontDatabase.cpp * harbour/contrib/hbqt/qtgui/QLayoutItem.cpp * harbour/contrib/hbqt/qtgui/QLineEdit.cpp * harbour/contrib/hbqt/qtgui/QPixmap.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturnMask.cpp * harbour/contrib/hbqt/qtgui/TQMoveEvent.prg * harbour/contrib/hbqt/qtgui/TQTextInlineObject.prg * harbour/contrib/hbqt/qtgui/TQContextMenuEvent.prg * harbour/contrib/hbqt/qtgui/TQBitmap.prg * harbour/contrib/hbqt/qtgui/QDragMoveEvent.cpp * harbour/contrib/hbqt/qtgui/QSplitter.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBar.prg * harbour/contrib/hbqt/qtgui/TQDesktopWidget.prg * harbour/contrib/hbqt/qtgui/TQCalendarWidget.prg * harbour/contrib/hbqt/qtgui/TQPageSetupDialog.prg * harbour/contrib/hbqt/qtgui/QComboBox.cpp * harbour/contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg * harbour/contrib/hbqt/qtgui/TQDateEdit.prg * harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp * harbour/contrib/hbqt/qtgui/QAbstractItemDelegate.cpp * harbour/contrib/hbqt/qtgui/TQHeaderView.prg * harbour/contrib/hbqt/qtgui/TQConicalGradient.prg * harbour/contrib/hbqt/qtgui/TQCheckBox.prg * harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp * harbour/contrib/hbqt/qtgui/QTableView.cpp * harbour/contrib/hbqt/qtgui/QPen.cpp * harbour/contrib/hbqt/qtgui/QRegion.cpp * harbour/contrib/hbqt/qtgui/TQFocusFrame.prg * harbour/contrib/hbqt/qtgui/TQSizePolicy.prg * harbour/contrib/hbqt/qtgui/TQDirModel.prg * harbour/contrib/hbqt/qtgui/QFrame.cpp * harbour/contrib/hbqt/qtgui/QCompleter.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionFrame.prg * harbour/contrib/hbqt/qtgui/TQFont.prg * harbour/contrib/hbqt/qtgui/TQAbstractSlider.prg * harbour/contrib/hbqt/qtgui/QInputContext.cpp * harbour/contrib/hbqt/qtgui/TQAbstractScrollArea.prg * harbour/contrib/hbqt/qtgui/TQPicture.prg * harbour/contrib/hbqt/qtcore/TQSettings.prg * harbour/contrib/hbqt/qtcore/QSettings.cpp * harbour/contrib/hbqt/qtcore/TQUiLoader.prg * harbour/contrib/hbqt/qtcore/QUiLoader.cpp * harbour/contrib/hbqt/hbqt_errorsys.prg * harbour/contrib/hbqt/hbqt_destruct.cpp * harbour/contrib/hbqt/qtnetwork/QHttp.cpp * harbour/contrib/hbqt/qtnetwork/TQHttpHeader.prg * harbour/contrib/hbqt/qtnetwork/TQFtp.prg * harbour/contrib/hbqt/qtnetwork/QHttpHeader.cpp * harbour/contrib/hbqt/qtnetwork/QFtp.cpp * harbour/contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg * harbour/contrib/hbqt/qtnetwork/TQNetworkRequest.prg * harbour/contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg * harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp * harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * harbour/contrib/hbqt/qtnetwork/TQHttp.prg * harbour/contrib/hbqt/qtnetwork/Makefile * harbour/contrib/hbqt/hbqt_misc.prg * harbour/contrib/hbxbp/xbppresspace.prg * harbour/contrib/hbxbp/xbprtf.prg * harbour/contrib/hbxbp/xbpbrowse.prg * harbour/contrib/hbxbp/xbpprintdialog.prg * harbour/contrib/hbxbp/xbpdev.ch * harbour/contrib/hbxbp/xbpprinter.prg * harbour/contrib/hbxbp/xbpqtuiloader.prg * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiomt.prg * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/Makefile * harbour/contrib/hbide/ideobject.prg * harbour/contrib/hbide/hbide.hbp * harbour/contrib/hbide/iderequests.prg * harbour/contrib/hbide/idestylesheets.prg * harbour/contrib/hbide/idefindreplace.prg * harbour/contrib/hbide/idethemes.prg * harbour/contrib/hbide/ideeditor.prg * harbour/contrib/hbide/hbide.prg * harbour/contrib/hbide/idemisc.prg * harbour/contrib/hbide/hbide.ch * harbour/contrib/hbide/idetags.prg * harbour/contrib/hbide/idesaveload.prg * harbour/contrib/hbide/ideactions.prg * harbour/contrib/hbide/idedocks.prg * harbour/contrib/hbide/ideparseexpr.c * harbour/contrib/hbide/ideprojmanager.prg * set svn:keywords attribute to "Author Date Id Revision" --- harbour/ChangeLog | 519 +++++- harbour/contrib/hbnetio/tests/hbmk.hbm | 16 +- harbour/contrib/hbnetio/tests/netiotst.prg | 4 + harbour/examples/gtwvw/gtwvw.c | 2 +- harbour/examples/gtwvw/hbgtwvw.h | 1416 ++++++++--------- harbour/examples/gtwvw/hbole.h | 188 +-- .../examples/hbdoc/examples/hbmisc/readme.txt | 132 +- 7 files changed, 1392 insertions(+), 885 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 74110b5b4b..dbbeef902c 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,509 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-11 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbnetio/tests/netiotst.prg + * added netio_disconnect() to test code + + * harbour/ChangeLog + * harbour/examples/gtwvw/gtwvw.c + ! replaced TABs with spaces + + * harbour/contrib/hbnetio/tests/hbmk.hbm + * harbour/examples/hbdoc/examples/hbmisc/readme.txt + * harbour/examples/gtwvw/hbgtwvw.h + * harbour/examples/gtwvw/hbole.h + ! fixed hardcoded \r\n EOLs + + * harbour/src/vm/strapi.c + * harbour/src/common/strwild.c + * harbour/src/nortl/nortl.c + * harbour/src/nortl/Makefile + * harbour/src/rtl/hbascii.c + * harbour/src/rtl/hbsocket.c + * harbour/src/rtl/hbbffnc.c + * harbour/src/rtl/hbznet.c + * harbour/src/rtl/hbbfish.c + * harbour/src/rtl/hbbyte.c + * harbour/src/codepage/uc646_yu.c + * harbour/src/codepage/cphriso.c + * harbour/src/rdd/dbrename.c + * harbour/tests/cpinfo.prg + * harbour/include/hbmsgreg.h + * harbour/include/hbgtreg.h + * harbour/include/hbznet.h + * harbour/include/hbmather.h + * harbour/include/hbsocket.ch + * harbour/include/hbtrace.ch + * harbour/include/hbapistr.h + * harbour/include/hbiniseg.h + * harbour/include/hbsocket.h + * harbour/include/hbbfish.h + * harbour/include/hbcdpreg.h + * harbour/include/hbfloat.h + * harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp + * harbour/contrib/hbqt/qtgui/QDragEnterEvent.cpp + * harbour/contrib/hbqt/qtgui/TQToolBox.prg + * harbour/contrib/hbqt/qtgui/QGridLayout.cpp + * harbour/contrib/hbqt/qtgui/TQTreeView.prg + * harbour/contrib/hbqt/qtgui/TQTextCharFormat.prg + * harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp + * harbour/contrib/hbqt/qtgui/TQTextLine.prg + * harbour/contrib/hbqt/qtgui/QConicalGradient.cpp + * harbour/contrib/hbqt/qtgui/QTextLength.cpp + * harbour/contrib/hbqt/qtgui/TQInputEvent.prg + * harbour/contrib/hbqt/qtgui/TQWidgetItem.prg + * harbour/contrib/hbqt/qtgui/TQTextItem.prg + * harbour/contrib/hbqt/qtgui/QGradient.cpp + * harbour/contrib/hbqt/qtgui/TQTimeEdit.prg + * harbour/contrib/hbqt/qtgui/TQDropEvent.prg + * harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp + * harbour/contrib/hbqt/qtgui/QItemSelection.cpp + * harbour/contrib/hbqt/qtgui/TQTextObject.prg + * harbour/contrib/hbqt/qtgui/TQPainterPath.prg + * harbour/contrib/hbqt/qtgui/QTransform.cpp + * harbour/contrib/hbqt/qtgui/QPicture.cpp + * harbour/contrib/hbqt/qtgui/QAction.cpp + * harbour/contrib/hbqt/qtgui/QPaintEvent.cpp + * harbour/contrib/hbqt/qtgui/TQStyleHintReturn.prg + * harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp + * harbour/contrib/hbqt/qtgui/QWidget.cpp + * harbour/contrib/hbqt/qtgui/TQProgressBar.prg + * harbour/contrib/hbqt/qtgui/TQFontDatabase.prg + * harbour/contrib/hbqt/qtgui/QFontDialog.cpp + * harbour/contrib/hbqt/qtgui/QToolBox.cpp + * harbour/contrib/hbqt/qtgui/TQLineEdit.prg + * harbour/contrib/hbqt/qtgui/TQHBoxLayout.prg + * harbour/contrib/hbqt/qtgui/QTextListFormat.cpp + * harbour/contrib/hbqt/qtgui/QMouseEvent.cpp + * harbour/contrib/hbqt/qtgui/QTextEdit.cpp + * harbour/contrib/hbqt/qtgui/TQToolBar.prg + * harbour/contrib/hbqt/qtgui/TQTreeWidget.prg + * harbour/contrib/hbqt/qtgui/QFontComboBox.cpp + * harbour/contrib/hbqt/qtgui/TQSplitter.prg + * harbour/contrib/hbqt/qtgui/QStyle.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp + * harbour/contrib/hbqt/qtgui/TQComboBox.prg + * harbour/contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp + * harbour/contrib/hbqt/qtgui/QListView.cpp + * harbour/contrib/hbqt/qtgui/QWheelEvent.cpp + * harbour/contrib/hbqt/qtgui/TQAbstractItemDelegate.prg + * harbour/contrib/hbqt/qtgui/TQSessionManager.prg + * harbour/contrib/hbqt/qtgui/QRadialGradient.cpp + * harbour/contrib/hbqt/qtgui/QLayout.cpp + * harbour/contrib/hbqt/qtgui/QCursor.cpp + * harbour/contrib/hbqt/qtgui/TQProgressDialog.prg + * harbour/contrib/hbqt/qtgui/QPainterPath.cpp + * harbour/contrib/hbqt/qtgui/QLabel.cpp + * harbour/contrib/hbqt/qtgui/TQBoxLayout.prg + * harbour/contrib/hbqt/qtgui/TQPolygon.prg + * harbour/contrib/hbqt/qtgui/QFocusEvent.cpp + * harbour/contrib/hbqt/qtgui/QBrush.cpp + * harbour/contrib/hbqt/qtgui/QStyleHintReturn.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp + * harbour/contrib/hbqt/qtgui/QStylePainter.cpp + * harbour/contrib/hbqt/qtgui/TQRadioButton.prg + * harbour/contrib/hbqt/qtgui/TQSystemTrayIcon.prg + * harbour/contrib/hbqt/qtgui/QLinearGradient.cpp + * harbour/contrib/hbqt/qtgui/TQListWidgetItem.prg + * harbour/contrib/hbqt/qtgui/QProgressBar.cpp + * harbour/contrib/hbqt/qtgui/TQTextBlock.prg + * harbour/contrib/hbqt/qtgui/TQTextFrame.prg + * harbour/contrib/hbqt/qtgui/QDragLeaveEvent.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionViewItem.prg + * harbour/contrib/hbqt/qtgui/TQInputContext.prg + * harbour/contrib/hbqt/qtgui/QClipboard.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp + * harbour/contrib/hbqt/qtgui/QToolBar.cpp + * harbour/contrib/hbqt/qtgui/TQStatusBar.prg + * harbour/contrib/hbqt/qtgui/TQTextBlockFormat.prg + * harbour/contrib/hbqt/qtgui/TQTextFrameFormat.prg + * harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp + * harbour/contrib/hbqt/qtgui/TQTabWidget.prg + * harbour/contrib/hbqt/qtgui/TQLCDNumber.prg + * harbour/contrib/hbqt/qtgui/TQMainWindow.prg + * harbour/contrib/hbqt/qtgui/QToolButton.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg + * harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp + * harbour/contrib/hbqt/qtgui/TQDockWidget.prg + * harbour/contrib/hbqt/qtgui/QColor.cpp + * harbour/contrib/hbqt/qtgui/QListWidget.cpp + * harbour/contrib/hbqt/qtgui/QTextLayout.cpp + * harbour/contrib/hbqt/qtgui/QTextCursor.cpp + * harbour/contrib/hbqt/qtgui/TQSound.prg + * harbour/contrib/hbqt/qtgui/QTextDocument.cpp + * harbour/contrib/hbqt/qtgui/TQHelpEvent.prg + * harbour/contrib/hbqt/qtgui/QAbstractProxyModel.cpp + * harbour/contrib/hbqt/qtgui/QPolygon.cpp + * harbour/contrib/hbqt/qtgui/TQGradient.prg + * harbour/contrib/hbqt/qtgui/TQAbstractPrintDialog.prg + * harbour/contrib/hbqt/qtgui/QRadioButton.cpp + * harbour/contrib/hbqt/qtgui/TQWizard.prg + * harbour/contrib/hbqt/qtgui/TQApplication.prg + * harbour/contrib/hbqt/qtgui/QAbstractButton.cpp + * harbour/contrib/hbqt/qtgui/TQSyntaxHighlighter.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp + * harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp + * harbour/contrib/hbqt/qtgui/TQTextOption.prg + * harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp + * harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp + * harbour/contrib/hbqt/qtgui/TQInputDialog.prg + * harbour/contrib/hbqt/qtgui/TQMovie.prg + * harbour/contrib/hbqt/qtgui/TQKeySequence.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp + * harbour/contrib/hbqt/qtgui/QBitmap.cpp + * harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp + * harbour/contrib/hbqt/qtgui/TQPrinter.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp + * harbour/contrib/hbqt/qtgui/QHeaderView.cpp + * harbour/contrib/hbqt/qtgui/QScrollBar.cpp + * harbour/contrib/hbqt/qtgui/TQActionGroup.prg + * harbour/contrib/hbqt/qtgui/TQTextEdit.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp + * harbour/contrib/hbqt/qtgui/TQWizardPage.prg + * harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp + * harbour/contrib/hbqt/qtgui/TQFontComboBox.prg + * harbour/contrib/hbqt/qtgui/QFocusFrame.cpp + * harbour/contrib/hbqt/qtgui/QSizePolicy.cpp + * harbour/contrib/hbqt/qtgui/TQListView.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg + * harbour/contrib/hbqt/qtgui/QAbstractPrintDialog.cpp + * harbour/contrib/hbqt/qtgui/QApplication.cpp + * harbour/contrib/hbqt/qtgui/TQTextBlockGroup.prg + * harbour/contrib/hbqt/qtgui/QAbstractSlider.cpp + * harbour/contrib/hbqt/qtgui/QTextFragment.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg + * harbour/contrib/hbqt/qtgui/Makefile + * harbour/contrib/hbqt/qtgui/QAbstractScrollArea.cpp + * harbour/contrib/hbqt/qtgui/TQPrintEngine.prg + * harbour/contrib/hbqt/qtgui/TQStylePainter.prg + * harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp + * harbour/contrib/hbqt/qtgui/QInputDialog.cpp + * harbour/contrib/hbqt/qtgui/QKeySequence.cpp + * harbour/contrib/hbqt/qtgui/QPrinter.cpp + * harbour/contrib/hbqt/qtgui/TQMessageBox.prg + * harbour/contrib/hbqt/qtgui/QKeyEvent.cpp + * harbour/contrib/hbqt/qtgui/QActionGroup.cpp + * harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp + * harbour/contrib/hbqt/qtgui/TQFontMetricsF.prg + * harbour/contrib/hbqt/qtgui/TQDragMoveEvent.prg + * harbour/contrib/hbqt/qtgui/QInputEvent.cpp + * harbour/contrib/hbqt/qtgui/QWidgetItem.cpp + * harbour/contrib/hbqt/qtgui/TQCommonStyle.prg + * harbour/contrib/hbqt/qtgui/QMenu.cpp + * harbour/contrib/hbqt/qtgui/TQWindowsStyle.prg + * harbour/contrib/hbqt/qtgui/TQPushButton.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp + * harbour/contrib/hbqt/qtgui/TQDoubleSpinBox.prg + * harbour/contrib/hbqt/qtgui/QTextObject.cpp + * harbour/contrib/hbqt/qtgui/TQTreeWidgetItem.prg + * harbour/contrib/hbqt/qtgui/TQTableView.prg + * harbour/contrib/hbqt/qtgui/TQTextDocument.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp + * harbour/contrib/hbqt/qtgui/QPrintEngine.cpp + * harbour/contrib/hbqt/qtgui/QFontInfo.cpp + * harbour/contrib/hbqt/qtgui/QImage.cpp + * harbour/contrib/hbqt/qtgui/TQButtonGroup.prg + * harbour/contrib/hbqt/qtgui/TQFrame.prg + * harbour/contrib/hbqt/qtgui/TQCompleter.prg + * harbour/contrib/hbqt/qtgui/QValidator.cpp + * harbour/contrib/hbqt/qtgui/TQTextFormat.prg + * harbour/contrib/hbqt/qtgui/QIcon.cpp + * harbour/contrib/hbqt/qtgui/TQColorDialog.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg + * harbour/contrib/hbqt/qtgui/QPolygonF.cpp + * harbour/contrib/hbqt/qtgui/TQFileIconProvider.prg + * harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp + * harbour/contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg + * harbour/contrib/hbqt/qtgui/QTreeWidget.cpp + * harbour/contrib/hbqt/qtgui/QCommonStyle.cpp + * harbour/contrib/hbqt/qtgui/TQTextDocumentWriter.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionTab.prg + * harbour/contrib/hbqt/qtgui/TQStringListModel.prg + * harbour/contrib/hbqt/qtgui/QAbstractItemView.cpp + * harbour/contrib/hbqt/qtgui/QSessionManager.cpp + * harbour/contrib/hbqt/qtgui/TQTextBrowser.prg + * harbour/contrib/hbqt/qtgui/QProgressDialog.cpp + * harbour/contrib/hbqt/qtgui/TQTableWidget.prg + * harbour/contrib/hbqt/qtgui/TQTabBar.prg + * harbour/contrib/hbqt/qtgui/TQSpacerItem.prg + * harbour/contrib/hbqt/qtgui/QButtonGroup.cpp + * harbour/contrib/hbqt/qtgui/QStyleFactory.cpp + * harbour/contrib/hbqt/qtgui/TQDialog.prg + * harbour/contrib/hbqt/qtgui/TQFileDialog.prg + * harbour/contrib/hbqt/qtgui/TQStandardItemModel.prg + * harbour/contrib/hbqt/qtgui/TQFormLayout.prg + * harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp + * harbour/contrib/hbqt/qtgui/TQItemSelection.prg + * harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp + * harbour/contrib/hbqt/qtgui/QColorDialog.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp + * harbour/contrib/hbqt/qtgui/TQFileSystemModel.prg + * harbour/contrib/hbqt/qtgui/TQAbstractSpinBox.prg + * harbour/contrib/hbqt/qtgui/TQTextFragment.prg + * harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp + * harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp + * harbour/contrib/hbqt/qtgui/TQTransform.prg + * harbour/contrib/hbqt/qtgui/TQVBoxLayout.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp + * harbour/contrib/hbqt/qtgui/QMoveEvent.cpp + * harbour/contrib/hbqt/qtgui/TQImageWriter.prg + * harbour/contrib/hbqt/qtgui/QMainWindow.cpp + * harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp + * harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp + * harbour/contrib/hbqt/qtgui/QWidgetAction.cpp + * harbour/contrib/hbqt/qtgui/TQMenuBar.prg + * harbour/contrib/hbqt/qtgui/QStringListModel.cpp + * harbour/contrib/hbqt/qtgui/TQKeyEvent.prg + * harbour/contrib/hbqt/qtgui/QDockWidget.cpp + * harbour/contrib/hbqt/qtgui/TQPaintDevice.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg + * harbour/contrib/hbqt/qtgui/TQFontMetrics.prg + * harbour/contrib/hbqt/qtgui/QTextBrowser.cpp + * harbour/contrib/hbqt/qtgui/TQStyle.prg + * harbour/contrib/hbqt/qtgui/QTableWidget.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionHeader.prg + * harbour/contrib/hbqt/qtgui/TQMenu.prg + * harbour/contrib/hbqt/qtgui/TQMatrix.prg + * harbour/contrib/hbqt/qtgui/QErrorMessage.cpp + * harbour/contrib/hbqt/qtgui/QWizard.cpp + * harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp + * harbour/contrib/hbqt/qtgui/TQPrintDialog.prg + * harbour/contrib/hbqt/qtgui/QAbstractSpinBox.cpp + * harbour/contrib/hbqt/qtgui/TQPrintPreviewDialog.prg + * harbour/contrib/hbqt/qtgui/TQLabel.prg + * harbour/contrib/hbqt/qtgui/QDial.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionComboBox.prg + * harbour/contrib/hbqt/qtgui/TQSlider.prg + * harbour/contrib/hbqt/qtgui/TQFontInfo.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionToolButton.prg + * harbour/contrib/hbqt/qtgui/QTextOption.cpp + * harbour/contrib/hbqt/qtgui/TQBrush.prg + * harbour/contrib/hbqt/qtgui/QImageWriter.cpp + * harbour/contrib/hbqt/qtgui/TQScrollArea.prg + * harbour/contrib/hbqt/qtgui/TQIcon.prg + * harbour/contrib/hbqt/qtgui/TQLayoutItem.prg + * harbour/contrib/hbqt/qtgui/TQPolygonF.prg + * harbour/contrib/hbqt/qtgui/TQPixmap.prg + * harbour/contrib/hbqt/qtgui/QMenuBar.cpp + * harbour/contrib/hbqt/qtgui/TQClipboard.prg + * harbour/contrib/hbqt/qtgui/TQTextImageFormat.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg + * harbour/contrib/hbqt/qtgui/QPaintDevice.cpp + * harbour/contrib/hbqt/qtgui/QFontMetrics.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp + * harbour/contrib/hbqt/qtgui/QWizardPage.cpp + * harbour/contrib/hbqt/qtgui/TQImageReader.prg + * harbour/contrib/hbqt/qtgui/QDropEvent.cpp + * harbour/contrib/hbqt/qtgui/TQAbstractItemView.prg + * harbour/contrib/hbqt/qtgui/TQColor.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionComplex.prg + * harbour/contrib/hbqt/qtgui/QTextBlockGroup.cpp + * harbour/contrib/hbqt/qtgui/QPrintDialog.cpp + * harbour/contrib/hbqt/qtgui/TQRegion.prg + * harbour/contrib/hbqt/qtgui/QStandardItem.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp + * harbour/contrib/hbqt/qtgui/TQStyleFactory.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg + * harbour/contrib/hbqt/qtgui/TQPalette.prg + * harbour/contrib/hbqt/qtgui/QSplashScreen.cpp + * harbour/contrib/hbqt/qtgui/TQDateTimeEdit.prg + * harbour/contrib/hbqt/qtgui/QSizeGrip.cpp + * harbour/contrib/hbqt/qtgui/TQInputMethodEvent.prg + * harbour/contrib/hbqt/qtgui/TQPainter.prg + * harbour/contrib/hbqt/qtgui/QMessageBox.cpp + * harbour/contrib/hbqt/qtgui/TQResizeEvent.prg + * harbour/contrib/hbqt/qtgui/TQTextTableFormat.prg + * harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg + * harbour/contrib/hbqt/qtgui/QGroupBox.cpp + * harbour/contrib/hbqt/qtgui/QImageReader.cpp + * harbour/contrib/hbqt/qtgui/TQDragEnterEvent.prg + * harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp + * harbour/contrib/hbqt/qtgui/QPushButton.cpp + * harbour/contrib/hbqt/qtgui/TQWidgetAction.prg + * harbour/contrib/hbqt/qtgui/TQGridLayout.prg + * harbour/contrib/hbqt/qtgui/TQScrollBar.prg + * harbour/contrib/hbqt/qtgui/TQItemSelectionModel.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionButton.prg + * harbour/contrib/hbqt/qtgui/TQTextLength.prg + * harbour/contrib/hbqt/qtgui/TQCommandLinkButton.prg + * harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp + * harbour/contrib/hbqt/qtgui/QBoxLayout.cpp + * harbour/contrib/hbqt/qtgui/TQErrorMessage.prg + * harbour/contrib/hbqt/qtgui/QTextFormat.cpp + * harbour/contrib/hbqt/qtgui/QPalette.cpp + * harbour/contrib/hbqt/qtgui/QTextFrame.cpp + * harbour/contrib/hbqt/qtgui/QTextBlock.cpp + * harbour/contrib/hbqt/qtgui/QPainter.cpp + * harbour/contrib/hbqt/qtgui/TQDial.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp + * harbour/contrib/hbqt/qtgui/QResizeEvent.cpp + * harbour/contrib/hbqt/qtgui/TQTableWidgetItem.prg + * harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp + * harbour/contrib/hbqt/qtgui/TQAction.prg + * harbour/contrib/hbqt/qtgui/TQPaintEvent.prg + * harbour/contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp + * harbour/contrib/hbqt/qtgui/QStatusBar.cpp + * harbour/contrib/hbqt/qtgui/TQStyledItemDelegate.prg + * harbour/contrib/hbqt/qtgui/TQPlainTextEdit.prg + * harbour/contrib/hbqt/qtgui/QTextInlineObject.cpp + * harbour/contrib/hbqt/qtgui/QTabWidget.cpp + * harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp + * harbour/contrib/hbqt/qtgui/QLCDNumber.cpp + * harbour/contrib/hbqt/qtgui/TQWidget.prg + * harbour/contrib/hbqt/qtgui/TQFontDialog.prg + * harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp + * harbour/contrib/hbqt/qtgui/QDateEdit.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOption.prg + * harbour/contrib/hbqt/qtgui/TQTextListFormat.prg + * harbour/contrib/hbqt/qtgui/TQMouseEvent.prg + * harbour/contrib/hbqt/qtgui/QCheckBox.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionSlider.prg + * harbour/contrib/hbqt/qtgui/QSound.cpp + * harbour/contrib/hbqt/qtgui/QHelpEvent.cpp + * harbour/contrib/hbqt/qtgui/QTabBar.cpp + * harbour/contrib/hbqt/qtgui/QSpacerItem.cpp + * harbour/contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg + * harbour/contrib/hbqt/qtgui/QFileDialog.cpp + * harbour/contrib/hbqt/qtgui/QDirModel.cpp + * harbour/contrib/hbqt/qtgui/QDialog.cpp + * harbour/contrib/hbqt/qtgui/TQWheelEvent.prg + * harbour/contrib/hbqt/qtgui/QFormLayout.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp + * harbour/contrib/hbqt/qtgui/TQRadialGradient.prg + * harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp + * harbour/contrib/hbqt/qtgui/QFont.cpp + * harbour/contrib/hbqt/qtgui/TQCursor.prg + * harbour/contrib/hbqt/qtgui/TQLayout.prg + * harbour/contrib/hbqt/qtgui/TQStandardItem.prg + * harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp + * harbour/contrib/hbqt/qtgui/TQFocusEvent.prg + * harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp + * harbour/contrib/hbqt/qtgui/TQImage.prg + * harbour/contrib/hbqt/qtgui/TQSpinBox.prg + * harbour/contrib/hbqt/qtgui/QMovie.cpp + * harbour/contrib/hbqt/qtgui/TQValidator.prg + * harbour/contrib/hbqt/qtgui/TQLinearGradient.prg + * harbour/contrib/hbqt/qtgui/TQSplashScreen.prg + * harbour/contrib/hbqt/qtgui/TQDragLeaveEvent.prg + * harbour/contrib/hbqt/qtgui/TQSizeGrip.prg + * harbour/contrib/hbqt/qtgui/QStyleOption.cpp + * harbour/contrib/hbqt/qtgui/TQStyleHintReturnMask.prg + * harbour/contrib/hbqt/qtgui/QTreeView.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBox.prg + * harbour/contrib/hbqt/qtgui/QTextLine.cpp + * harbour/contrib/hbqt/qtgui/TQGroupBox.prg + * harbour/contrib/hbqt/qtgui/TQTextDocumentFragment.prg + * harbour/contrib/hbqt/qtgui/QTextItem.cpp + * harbour/contrib/hbqt/qtgui/TQToolButton.prg + * harbour/contrib/hbqt/qtgui/QTimeEdit.cpp + * harbour/contrib/hbqt/qtgui/QMatrix.cpp + * harbour/contrib/hbqt/qtgui/TQListWidget.prg + * harbour/contrib/hbqt/qtgui/TQPen.prg + * harbour/contrib/hbqt/qtgui/TQTextCursor.prg + * harbour/contrib/hbqt/qtgui/TQTextLayout.prg + * harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp + * harbour/contrib/hbqt/qtgui/TQAbstractProxyModel.prg + * harbour/contrib/hbqt/qtgui/QSlider.cpp + * harbour/contrib/hbqt/qtgui/QSpinBox.cpp + * harbour/contrib/hbqt/qtgui/QScrollArea.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg + * harbour/contrib/hbqt/qtgui/TQAbstractButton.prg + * harbour/contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg + * harbour/contrib/hbqt/qtgui/QFontDatabase.cpp + * harbour/contrib/hbqt/qtgui/QLayoutItem.cpp + * harbour/contrib/hbqt/qtgui/QLineEdit.cpp + * harbour/contrib/hbqt/qtgui/QPixmap.cpp + * harbour/contrib/hbqt/qtgui/QStyleHintReturnMask.cpp + * harbour/contrib/hbqt/qtgui/TQMoveEvent.prg + * harbour/contrib/hbqt/qtgui/TQTextInlineObject.prg + * harbour/contrib/hbqt/qtgui/TQContextMenuEvent.prg + * harbour/contrib/hbqt/qtgui/TQBitmap.prg + * harbour/contrib/hbqt/qtgui/QDragMoveEvent.cpp + * harbour/contrib/hbqt/qtgui/QSplitter.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBar.prg + * harbour/contrib/hbqt/qtgui/TQDesktopWidget.prg + * harbour/contrib/hbqt/qtgui/TQCalendarWidget.prg + * harbour/contrib/hbqt/qtgui/TQPageSetupDialog.prg + * harbour/contrib/hbqt/qtgui/QComboBox.cpp + * harbour/contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg + * harbour/contrib/hbqt/qtgui/TQDateEdit.prg + * harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp + * harbour/contrib/hbqt/qtgui/QAbstractItemDelegate.cpp + * harbour/contrib/hbqt/qtgui/TQHeaderView.prg + * harbour/contrib/hbqt/qtgui/TQConicalGradient.prg + * harbour/contrib/hbqt/qtgui/TQCheckBox.prg + * harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp + * harbour/contrib/hbqt/qtgui/QTableView.cpp + * harbour/contrib/hbqt/qtgui/QPen.cpp + * harbour/contrib/hbqt/qtgui/QRegion.cpp + * harbour/contrib/hbqt/qtgui/TQFocusFrame.prg + * harbour/contrib/hbqt/qtgui/TQSizePolicy.prg + * harbour/contrib/hbqt/qtgui/TQDirModel.prg + * harbour/contrib/hbqt/qtgui/QFrame.cpp + * harbour/contrib/hbqt/qtgui/QCompleter.cpp + * harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp + * harbour/contrib/hbqt/qtgui/TQStyleOptionFrame.prg + * harbour/contrib/hbqt/qtgui/TQFont.prg + * harbour/contrib/hbqt/qtgui/TQAbstractSlider.prg + * harbour/contrib/hbqt/qtgui/QInputContext.cpp + * harbour/contrib/hbqt/qtgui/TQAbstractScrollArea.prg + * harbour/contrib/hbqt/qtgui/TQPicture.prg + * harbour/contrib/hbqt/qtcore/TQSettings.prg + * harbour/contrib/hbqt/qtcore/QSettings.cpp + * harbour/contrib/hbqt/qtcore/TQUiLoader.prg + * harbour/contrib/hbqt/qtcore/QUiLoader.cpp + * harbour/contrib/hbqt/hbqt_errorsys.prg + * harbour/contrib/hbqt/hbqt_destruct.cpp + * harbour/contrib/hbqt/qtnetwork/QHttp.cpp + * harbour/contrib/hbqt/qtnetwork/TQHttpHeader.prg + * harbour/contrib/hbqt/qtnetwork/TQFtp.prg + * harbour/contrib/hbqt/qtnetwork/QHttpHeader.cpp + * harbour/contrib/hbqt/qtnetwork/QFtp.cpp + * harbour/contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg + * harbour/contrib/hbqt/qtnetwork/TQNetworkRequest.prg + * harbour/contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg + * harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp + * harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp + * harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp + * harbour/contrib/hbqt/qtnetwork/TQHttp.prg + * harbour/contrib/hbqt/qtnetwork/Makefile + * harbour/contrib/hbqt/hbqt_misc.prg + * harbour/contrib/hbxbp/xbppresspace.prg + * harbour/contrib/hbxbp/xbprtf.prg + * harbour/contrib/hbxbp/xbpbrowse.prg + * harbour/contrib/hbxbp/xbpprintdialog.prg + * harbour/contrib/hbxbp/xbpdev.ch + * harbour/contrib/hbxbp/xbpprinter.prg + * harbour/contrib/hbxbp/xbpqtuiloader.prg + * harbour/contrib/hbnetio/netio.h + * harbour/contrib/hbnetio/netiomt.prg + * harbour/contrib/hbnetio/netiocli.c + * harbour/contrib/hbnetio/netiosrv.c + * harbour/contrib/hbnetio/Makefile + * harbour/contrib/hbide/ideobject.prg + * harbour/contrib/hbide/hbide.hbp + * harbour/contrib/hbide/iderequests.prg + * harbour/contrib/hbide/idestylesheets.prg + * harbour/contrib/hbide/idefindreplace.prg + * harbour/contrib/hbide/idethemes.prg + * harbour/contrib/hbide/ideeditor.prg + * harbour/contrib/hbide/hbide.prg + * harbour/contrib/hbide/idemisc.prg + * harbour/contrib/hbide/hbide.ch + * harbour/contrib/hbide/idetags.prg + * harbour/contrib/hbide/idesaveload.prg + * harbour/contrib/hbide/ideactions.prg + * harbour/contrib/hbide/idedocks.prg + * harbour/contrib/hbide/ideparseexpr.c + * harbour/contrib/hbide/ideprojmanager.prg + * set svn:keywords attribute to "Author Date Id Revision" + 2010-01-11 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbznet.c * move hb_znetOpen() parameter validation from HB_INETCOMPRESS() @@ -135,13 +638,13 @@ 2010-01-10 16:54 UTC-0300 Vailton Renato (vailtom gmail.com) * contrib/hbide/ideactions.prg - + Added new action "CloseOther" referenced in the menu, but missing in - IdeActions:loadActions() - + + Added new action "CloseOther" referenced in the menu, but missing in + IdeActions:loadActions() + * contrib/hbide/idesources.prg ! Rewritten the method closeAllOthers() because the old code did not work - properly. Please test and report. - + properly. Please test and report. + 2010-01-10 07:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg @@ -98989,9 +99492,9 @@ * ported from xHarbour/contrib/gd * changed name of the lib from gdlib to hbgd * changed dirs and make files - * deleted some files - * changed images - * changed C and prg for Harbour + * deleted some files + * changed images + * changed C and prg for Harbour 2007-04-04 15:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/pgsql/tpostgre.prg diff --git a/harbour/contrib/hbnetio/tests/hbmk.hbm b/harbour/contrib/hbnetio/tests/hbmk.hbm index 40fed33614..6121b595c4 100644 --- a/harbour/contrib/hbnetio/tests/hbmk.hbm +++ b/harbour/contrib/hbnetio/tests/hbmk.hbm @@ -1,8 +1,8 @@ -# -# $Id: hbmk.hbm 11362 2009-06-15 12:46:55Z vszakats $ -# - -../hbnetio.hbc --mt - --w3 -es2 +# +# $Id$ +# + +../hbnetio.hbc +-mt + +-w3 -es2 diff --git a/harbour/contrib/hbnetio/tests/netiotst.prg b/harbour/contrib/hbnetio/tests/netiotst.prg index 757aefb88c..d0f0662158 100644 --- a/harbour/contrib/hbnetio/tests/netiotst.prg +++ b/harbour/contrib/hbnetio/tests/netiotst.prg @@ -66,6 +66,10 @@ proc main() ? "table exists:", dbExists( DBNAME ) wait + ? "NETIO_DISCONNECT():", netio_disconnect( DBSERVER, DBPORT ) + + ? + ? "stopping the server..." netio_serverstop( pSockSrv, .t. ) return diff --git a/harbour/examples/gtwvw/gtwvw.c b/harbour/examples/gtwvw/gtwvw.c index 880024cf7a..d8646684af 100644 --- a/harbour/examples/gtwvw/gtwvw.c +++ b/harbour/examples/gtwvw/gtwvw.c @@ -8020,7 +8020,7 @@ WIN_DATA * hb_gt_wvw_GetWindowsData( UINT iWin ) char * hb_gt_wvw_GetAppName( void ) { - return s_pWvwData->szAppName; + return s_pWvwData->szAppName; } APP_DATA *hb_gt_wvwGetAppData( void ) diff --git a/harbour/examples/gtwvw/hbgtwvw.h b/harbour/examples/gtwvw/hbgtwvw.h index 4f55be5dbc..28002fd6b8 100644 --- a/harbour/examples/gtwvw/hbgtwvw.h +++ b/harbour/examples/gtwvw/hbgtwvw.h @@ -1,708 +1,708 @@ -/* - * $Id: hbgtwvw.h,v 1.19 2009/12/21 05:18:58 andijahja Exp $ - */ - -/* - * Harbour Project source code: - * Video subsystem for Win32 using GUI windows instead of Console - * WITH MULTIPLE WINDOW SUPPORT - * Copyright 2004 Budyanto Dj. - * - * initially based on: - * - * Header File for Video subsystem for Win32 using GUI windows instead of Console - * Copyright 2003 Peter Rees - * Rees Software & Systems Ltd - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ - -/* TODO: Disabled UNICODE until this code gets support for it. */ -#ifdef UNICODE - #undef UNICODE -#endif - -#ifndef HB_WVW_H_ -#define HB_WVW_H_ - -#define HB_OS_WIN_USED - -#define TTS_BALLOON 0x40 // added by MAG - -#define WINVER 0x0500 -#define _WIN32_WINNT 0x0500 - -#ifndef _WIN32_IE - #define _WIN32_IE 0x0400 -#endif - -/*-------------------------------------------------------------------*/ - -/* NOTE: User programs should never call this layer directly! */ - -/* This definition has to be placed before #include "hbapigt.h" */ - -/*-------------------------------------------------------------------*/ - -#define HB_GT_NAME WVW - -/*-------------------------------------------------------------------*/ - -#ifndef CINTERFACE - #define CINTERFACE 1 -#endif - -#include "hbset.h" -#include "hbgtcore.h" -#include "hbinit.h" -#include "hbapigt.h" -#include "hbapierr.h" -#include "hbapiitm.h" -#include "inkey.ch" -#include "error.ch" -#include "hbvm.h" -#include "hbstack.h" - -#include "hbole.h" - -#include -#include -#include - -#include /* fmod */ -#include -#include -#include - -#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__DMC__) - #include - #include - #include - #include - - #if defined(_MSC_VER) || defined( __DMC__ ) - #include - - #if ! defined( _MSC_VER ) - - #if !defined( LONG_PTR ) - typedef __int64 LONG_PTR ; - #ifndef SetWindowLongPtr - #define SetWindowLongPtr SetWindowLong - #endif - #ifndef GetWindowLongPtr - #define GetWindowLongPtr GetWindowLong - #endif - #endif - #endif - #endif -#else - #include -#endif - -#include -#include - -/*-------------------------------------------------------------------*/ - -/* xHarbour compatible definitions */ -#if !defined( K_SH_LEFT ) -#define K_SH_LEFT K_LEFT /* Shift-Left == Left */ -#define K_SH_UP K_UP /* Shift-Up == Up */ -#define K_SH_RIGHT K_RIGHT /* Shift-Right == Right */ -#define K_SH_DOWN K_DOWN /* Shift-Down == Down */ -#define K_SH_INS K_INS /* Shift-Ins == Ins */ -#define K_SH_DEL K_DEL /* Shift-Del == Del */ -#define K_SH_HOME K_HOME /* Shift-Home == Home */ -#define K_SH_END K_END /* Shift-End == End */ -#define K_SH_PGUP K_PGUP /* Shift-PgUp == PgUp */ -#define K_SH_PGDN K_PGDN /* Shift-PgDn == PgDn */ -#define K_SH_RETURN K_RETURN /* Shift-Enter == Enter */ -#define K_SH_ENTER K_ENTER /* Shift-Enter == Enter */ -#endif - -#define WVW_MAXWINDOWS 40 - -#define WVW_MAXWINNAMELENGTH 256 - -#define WVW_DEFAULT_MENUKEYEVENT 1024 - -#define WVW_MAX_STATUS_PARTS 40 /* max # of parts in Status Bar */ -#define WVW_SPACE_BETWEEN_PARTS 2 /* pixel space between Status Bar's parts */ - -#define WVW_ID_SYSTEM_TIMER 1 - -#define WVW_ID_BASE_STATUSBAR 100 -#define WVW_ID_BASE_TIMER 100 - -#define WVW_ID_BASE_TOOLTIP 100 - -#define WVW_ID_BASE_TOOLBAR 100 - -#define WVW_ID_BASE_SCROLLBAR 100 - -#define WVW_ID_BASE_PROGRESSBAR 100 -#define WVW_ID_BASE_STATIC 200 - -#define WVW_ID_BASE_PUSHBUTTON 64000 -#define WVW_ID_BASE_CHECKBOX 64000 - -#define WVW_ID_MAX_PUSHBUTTON WVW_ID_BASE_PUSHBUTTON+200-1 -#define WVW_ID_MAX_CHECKBOX WVW_ID_BASE_CHECKBOX+200-1 -/* ie. effectively there are max 200 buttons on a window */ - -#define WVW_ID_BASE_COMBOBOX WVW_ID_MAX_PUSHBUTTON+1 -#define WVW_CB_KBD_STANDARD 0 -#define WVW_CB_KBD_CLIPPER 1 - -#define WVW_COMBOBOX_MAXLEN 255 /* maximum length of combobox string */ - -#define WVW_ID_MAX_COMBOBOX WVW_ID_BASE_COMBOBOX+200-1 - -#define WVW_ID_BASE_EDITBOX WVW_ID_MAX_COMBOBOX+1 -#define WVW_ID_MAX_EDITBOX WVW_ID_BASE_EDITBOX+200-1 - -#define WVW_EB_SINGLELINE 1 -#define WVW_EB_MULTILINE 2 - -#define WVW_CHAR_QUEUE_SIZE 128 -#define WVW_MAX_TITLE_SIZE 128 -#define WVW_CHAR_BUFFER 1024 -#define WVW_MAX_ROWS 256 -#define WVW_MAX_COLS 256 -#define WVW_DEFAULT_ROWS 25 -#define WVW_DEFAULT_COLS 80 - -#define WVW_PICTURES_MAX 20 - -#define WVW_FONTS_MAX 20 -#define WVW_PENS_MAX 20 -#define WVW_DLGML_MAX 20 -#define WVW_DLGMD_MAX 20 - -/* default maximum number of user bitmap cache - One bitmap cache currently takes 280 bytes (see BITMAP_HANDLE). - See also wvw_setMaxBMCache(). - */ -#define WVW_DEFAULT_MAX_BMCACHE 20 - -/* Como as descri‡äes sÆo grandes, precisei aumetar isso - Peluffo - 26/10/2007 - #define WVW_TB_LABELMAXLENGTH 40 - */ -#define WVW_TB_LABELMAXLENGTH 100 - -//#define WVW_WHICH_WINDOW ( ISNIL( 1 ) ? ( s_bMainCoordMode ? s_usNumWindows-1 : s_usCurWindow ) : ((UINT) hb_parni( 1 )) ) -#define WVW_WHICH_WINDOW ( ISNIL( 1 ) ? ( hb_gt_wvw_GetMainCoordMode() ? ((hb_gt_wvw_GetNumWindows())-1) : hb_gt_wvw_GetCurWindow() ) : ((UINT) hb_parni( 1 )) ) -/*-------------------------------------------------------------------*/ - -#define BLACK RGB( 0x0 ,0x0 ,0x0 ) -#define BLUE RGB( 0x0 ,0x0 ,0x85 ) -#define GREEN RGB( 0x0 ,0x85,0x0 ) -#define CYAN RGB( 0x0 ,0x85,0x85 ) -#define RED RGB( 0x85,0x0 ,0x0 ) -#define MAGENTA RGB( 0x85,0x0 ,0x85 ) -#define BROWN RGB( 0x85,0x85,0x0 ) -#define WHITE RGB( 0xC6,0xC6,0xC6 ) -#define LIGHT_GRAY RGB( 0x60,0x60,0x60 ) -#define BRIGHT_BLUE RGB( 0x00,0x00,0xFF ) -#define BRIGHT_GREEN RGB( 0x60,0xFF,0x60 ) -#define BRIGHT_CYAN RGB( 0x60,0xFF,0xFF ) -#define BRIGHT_RED RGB( 0xF8,0x00,0x26 ) -#define BRIGHT_MAGENTA RGB( 0xFF,0x60,0xFF ) -#define YELLOW RGB( 0xFF,0xFF,0x00 ) -#define BRIGHT_WHITE RGB( 0xFF,0xFF,0xFF ) - -/*-------------------------------------------------------------------*/ - -#if defined(__DMC__) - - #define SBT_TOOLTIPS 0x0800 - #define SB_SETICON (WM_USER+15) - #define SB_SETTIPTEXT (WM_USER+17) - #define SB_GETTIPTEXT (WM_USER+18) - #define TBSTYLE_FLAT 0x0800 - #define TBSTYLE_LIST 0x1000 - #define BTNS_WHOLEDROPDOWN 0x0080 - #define TBSTYLE_CUSTOMERASE 0x2000 - #define IDB_HIST_SMALL_COLOR 8 - #define IDB_HIST_LARGE_COLOR 9 - #define TB_SETMAXTEXTROWS (WM_USER + 60) - #define PBS_VERTICAL 0x04 - #define PBS_SMOOTH 0x01 - #define CCM_FIRST 0x2000 - #define CCM_SETBKCOLOR (CCM_FIRST + 1) - #define PBM_SETBKCOLOR CCM_SETBKCOLOR - #define PBM_SETBARCOLOR (WM_USER+9) - #define PBM_GETRANGE (WM_USER+7) - #define PBM_GETPOS (WM_USER+8) - - typedef DWORD UINT_PTR; - - typedef struct - { - int iLow; - int iHigh; - } PBRANGE, *PPBRANGE; - - #define ICC_BAR_CLASSES 0x00000004 - - typedef USHORT COLOR16; - - typedef struct _TRIVERTEX { - LONG x; - LONG y; - COLOR16 Red; - COLOR16 Green; - COLOR16 Blue; - COLOR16 Alpha; - } TRIVERTEX,*PTRIVERTEX,*LPTRIVERTEX; - - typedef struct tagINITCOMMONCONTROLSEX { - DWORD dwSize; - DWORD dwICC; - } INITCOMMONCONTROLSEX, *LPINITCOMMONCONTROLSEX; - - WINCOMMCTRLAPI BOOL WINAPI InitCommonControlsEx(LPINITCOMMONCONTROLSEX); - - typedef struct _GRADIENT_RECT { - ULONG UpperLeft; - ULONG LowerRight; - } GRADIENT_RECT,*PGRADIENT_RECT,*LPGRADIENT_RECT; -#endif -/*-------------------------------------------------------------------*/ - -#define WM_MY_UPDATE_CARET ( WM_USER + 0x0101 ) - -typedef BOOL ( WINAPI *wvwGradientFill ) ( - HDC hdc, - PTRIVERTEX pVertex, - ULONG dwNumVertex, - PVOID pMesh, - ULONG dwNumMesh, - ULONG dwMode ); - -/*-------------------------------------------------------------------*/ - -#ifndef _MAX_PATH - #define _MAX_PATH 256 -#endif - -typedef struct bitmap_handle -{ - char szFilename[_MAX_PATH+1]; - HBITMAP hBitmap; - int iWidth, iHeight; - struct bitmap_handle * pNext; -} BITMAP_HANDLE; - -typedef struct picture_handle -{ - char szFilename[_MAX_PATH+1]; - IPicture * iPicture; - int iWidth, iHeight; - struct picture_handle * pNext; -} PICTURE_HANDLE; - -/*-------------------------------------------------------------------*/ - -#define WVW_CONTROL_SCROLLBAR 1 -#define WVW_CONTROL_PUSHBUTTON 2 -#define WVW_CONTROL_CHECKBOX 2 -#define WVW_CONTROL_PROGRESSBAR 3 -#define WVW_CONTROL_COMBOBOX 4 -#define WVW_CONTROL_EDITBOX 5 -#define WVW_CONTROL_STATIC 6 - -#define WVW_MAXCAPTIONLENGTH 80 - - -typedef struct control_data -{ - BYTE byCtrlClass; - HWND hWndCtrl; - UINT uiCtrlid; - PHB_ITEM phiCodeBlock; - BOOL bBusy; - UINT uiBusy; - RECT rCtrl, rOffCtrl; - - /* SCROLLBAR specifics: */ - /* also used by combobox to store kbd type */ - /* also used by editbox to store editbox type */ - byte bStyle; - - /* PUSHBUTTON & CHECKBOX specifics: */ - WNDPROC OldProc; - - struct control_data * pNext; -} CONTROL_DATA; - -/*-------------------------------------------------------------------*/ - -typedef struct app_data -{ - BOOL CaretExist; /* TRUE if a caret has been created */ - BOOL displayCaret; /* flag to indicate if caret is on */ - - BOOL Win9X; /* Flag to say if running on Win9X not NT/2000/XP */ - BOOL AltF4Close; /* Can use Alt+F4 to close application */ - - HPEN penWhite; /* White pen to draw GDI elements */ - HPEN penBlack; /* Black pen to draw GDI elements */ - HPEN penWhiteDim; /* White dim pen to draw GDI elements */ - HPEN penDarkGray; /* Dark gray pen to draw GDI elements */ - HPEN penGray; /* Gray pen equivalent to Clipper White */ - HPEN penNull; /* Null pen */ - HPEN OriginalPen; /* Handle da Pen original do Device Context */ - HPEN currentPen; /* Handle to current pen settable at runtime */ - HPEN gridPen; /* Handle da Pen para Grid */ - HBRUSH currentBrush; /* Handle to current brush settable by runtime */ - HBRUSH diagonalBrush; /* Handle to diaoganl brush to draw scrollbars */ - HBRUSH solidBrush; /* Handle to solid brush */ - HBRUSH wvwWhiteBrush; /* Wvw specific White colored brush */ - HBRUSH OriginalBrush; /* Handle da Brush original do Device Context */ - - IPicture *iPicture[ WVW_PICTURES_MAX ]; /* Array to hold the Picture Streams to avoid recurring loading and unloading */ - HFONT hUserFonts[ WVW_FONTS_MAX ] ; /* User defined font handles */ - HPEN hUserPens[ WVW_PENS_MAX ]; /* User defined pens */ - - HINSTANCE hMSImg32; /* Handle to the loaded library msimg32.dll */ - wvwGradientFill pfnGF; /* Pointer to Address of the GradientFill function in MSImg32.dll */ - - HWND hDlgModeless[ WVW_DLGML_MAX ]; /* Handle to a modeless dialog */ - - PHB_ITEM pFunc[ WVW_DLGML_MAX ]; /* Function pointer for WndProc */ - /* TODO: pcbFunc is redundant and should be removed */ - PHB_ITEM pcbFunc[ WVW_DLGML_MAX ]; /* codeblock for WndProc */ - int iType[ WVW_DLGML_MAX ]; /* Type of Function Pointers - Function 1, Block 2, Method 3 */ - - HWND hDlgModal[ WVW_DLGMD_MAX ]; /* Handle to a modal dialog */ - PHB_ITEM pFuncModal[ WVW_DLGMD_MAX ]; /* Function pointer for WndProc */ - /* TODO: pcbFuncModal is redundant and should be removed */ - PHB_ITEM pcbFuncModal[ WVW_DLGMD_MAX ]; /* codeblock for WndProc */ - int iTypeModal[ WVW_DLGMD_MAX ]; /* Type of Function Pointers - Function 1, Block 2, Method 3 */ - - BITMAP_HANDLE * pbhBitmapList; - PICTURE_HANDLE * pphPictureList; - - BITMAP_HANDLE * pbhUserBitmap; /* User bitmap (wvw_drawimage) */ - UINT uiBMcache; /* number of bitmap cached */ - UINT uiMaxBMcache; /* maximum number of bitmap cached */ - - PHB_DYNS pSymWVW_PAINT; /* Stores pointer to WVW_PAINT function */ - PHB_DYNS pSymWVW_SETFOCUS; /* Stores pointer to WVW_SETFOCUS function */ - PHB_DYNS pSymWVW_KILLFOCUS; /* Stores pointer to WVW_KILLFOCUS function */ - PHB_DYNS pSymWVW_MOUSE; /* Stores pointer to WVW_MOUSE function */ - PHB_DYNS pSymWVW_TBMOUSE; /* Stores pointer to WVW_TBMOUSE function */ - PHB_DYNS pSymWVW_MENUSELECT; /* Stores pointer to WVW_MENUSELECT function*/ - - PHB_DYNS pSymWVW_SIZE; /* Stores pointer to WVW_SIZE function */ - PHB_DYNS pSymWVW_MOVE; /* Stores pointer to WVW_MOVE function */ - - PHB_DYNS pSymWVW_INPUTFOCUS; /* Stores pointer to WVW_INPUTFOCUS function*/ - - PHB_DYNS pSymWVW_TIMER; /* Stores pointer to WVW_TIMER function */ - PHB_DYNS pSymWVW_ONCTLCOLOR; /* Stores pointer to WVW_TIMER function */ - -} APP_DATA; - -typedef struct win_data -{ - UINT byWinId; /*x Window's Id, a number 0..WVWMAXWINDOWS */ - TCHAR szWinName[ WVW_MAXWINNAMELENGTH ]; /*x name of Window ~ szAppName for Window 0 */ - - int byLineSpacing; /*x linespacing in pixels */ - int iLSpaceColor; /*x linespacing color index */ - - USHORT usRowOfs; /*x offset to Main Window's (0,0) */ - USHORT usColOfs; /*x offset to Main Window's (0,0) */ - int uiDispCount; /*x pending DispEnd() request */ - BOOL bPaintPending; /*x pending WVW_PAINT() execution */ - RECT rPaintPending; /*x rect of pending bPaintPending */ - HWND hStatusBar; /* handle to status bar */ - USHORT usSBHeight; /* height of status bar */ - - HWND hToolBar; /* TB handle to toolbar */ - USHORT usTBHeight; /* TB height of toolbar */ - int iStartStdBitmap, - iStartViewBitmap, - iStartHistBitmap; /* start of bitmap index */ - int iTBImgWidth, - iTBImgHeight; /* image width and height */ - WNDPROC tbOldProc; - - CONTROL_DATA * pcdCtrlList; /* lists of created controls, eg. scrollbars */ - - HFONT hPBfont; /* handle to font used by pushbuttons & checkboxes */ - - HFONT hCBfont; /* handle to font used by comboboxes */ - - HFONT hEBfont; /* handle to font used by editboxes */ - - HFONT hSBfont; /* handle to font used by pushbuttons & checkboxes */ - - HFONT hCXfont; /* handle to font used by checkboxes when 'focused' */ - HFONT hSTfont; /* handle to font used by checkboxes when 'focused' */ - - BOOL bSBPaint; - COLORREF cSBColorForeground; - COLORREF cSBColorBackground; - - BOOL bIgnoreWM_SYSCHAR; - BOOL bPaint; - BOOL bGetFocus; - - POINT PTEXTSIZE; /* size of the fixed width font */ - BOOL FixedFont; /* TRUE if current font is a fixed font */ - int FixedSize[ WVW_MAX_COLS ]; /* buffer for ExtTextOut() to emulate fixed pitch when Proportional font selected */ - USHORT ROWS; /* number of displayable rows in window */ - USHORT COLS; /* number of displayable columns in window */ - COLORREF foreground; /* foreground colour */ - - COLORREF background; /* background colour */ - - USHORT BUFFERSIZE; /* size of the screen text buffer */ - BYTE byBuffer[ WVW_MAX_ROWS * WVW_MAX_COLS ]; /* buffer with the text to be displayed on the screen */ - BYTE byColors[ WVW_MAX_ROWS * WVW_MAX_COLS ]; - BYTE *pBuffer; /* " " " */ - BYTE *pColors; /* " " " */ - POINT caretPos; /* the current caret position */ - - int CaretSize; /*x this may be specific to each windows, eg. different font size */ - POINT mousePos; /* the last mousedown position */ - BOOL MouseMove; /* Flag to say whether to return mouse movement events */ - HWND hWnd; /* the window handle */ - int Keys[ WVW_CHAR_QUEUE_SIZE ]; /* Array to hold the characters & events */ - int keyPointerIn; /* Offset into key array for character to be placed */ - int keyPointerOut; /* Offset into key array of next character to read */ - int keyLast; - - RECT RectInvalid; /* Invalid rectangle if DISPBEGIN() active */ - HFONT hFont; - int fontHeight; /* requested font height */ - int fontWidth ; /* requested font width */ - int fontWeight; /* Bold level */ - int fontQuality; - char fontFace[ LF_FACESIZE ]; /* requested font face name LF_FACESIZE #defined in wingdi.h */ - - int LastMenuEvent; /* Last menu item selected */ - int MenuKeyEvent; /* User definable event number for windows menu command */ - BOOL CentreWindow; /* True if window is to be Reset into centre of window */ - - /* if CentreWindow is FALSE, two following settings are examined */ - BOOL HCentreWindow; /* True if window is to be Reset into centre of window, horizontally */ - BOOL VCentreWindow; /* True if window is to be Reset into centre of window, vertically */ - - int CodePage; /* Code page to use for display characters */ - - BOOL InvalidateWindow; /* Flag for controlling whether to use ScrollWindowEx() */ - BOOL EnableShortCuts; /* Determines whether ALT key enables menu or system menu */ - - HDC hdc; /* Handle to Windows Device Context */ - - HMENU hPopup; /* Handle of context menu invokable with right click */ - - HDC hCompDC; /* Compatible DC to _s.hdc */ - HWND hWndTT; /* Handle to hold tooltip information */ - BOOL bToolTipActive; /* Flag to set whether tooltip is active or not */ - HICON hIcon; - -} WIN_DATA; - -typedef struct wvw_data -{ - UINT s_uiPaintRefresh ; /* milliseconds between timer check */ - - BOOL s_bMainCoordMode ; /* in this mode, all HB_GT_FUNC() uses Main Window's coordinate */ - - BOOL s_bVertCaret ; /* if TRUE, caret is in Vertical style */ - - BOOL s_bNOSTARTUPSUBWINDOW ; /* if TRUE, subwindow will not be displayed during opening */ - /* use WVW_NOSTARTUPSUBWINDOW() to check/set it */ - - BOOL s_bDefCentreWindow ; /* default CentreWindow setting for subwindows */ - - BOOL s_bDefHCentreWindow ; /* default HCentreWindow setting for subwindows */ - BOOL s_bDefVCentreWindow ; /* default VCentreWindow setting for subwindows */ - - int s_byDefLineSpacing ; /* default line spacing */ - - int s_iDefLSpaceColor ; /* if >; //= 0 this will be the color index for spacing between lines */ - - BOOL s_bAllowNonTop ; /* allow non-topmost window's control to accept input */ - - BOOL s_bRecurseCBlock ; /* allow control's codeblock to recurse */ - - LOGFONT s_lfPB ; /* default font for pushbuttons */ - - LOGFONT s_lfSB ; /* default font for statusbar */ - LOGFONT s_lfCB ; /* default font for comboboxes */ - - LOGFONT s_lfEB ; /* default font for editboxes */ - - LOGFONT s_lfCX ; /* font for 'focused'checkbox */ - LOGFONT s_lfST ; /* font for control */ - - HWND hWndTT ; /* Window handle Tool Tip */ - -/* read only by user ***/ - -/* for GTWVW private use: ***********************************************/ - BOOL s_bQuickSetMode ; /* quick SetMode(), to reset maxrow() and maxcol() only */ - - BOOL s_bFlashingWindow ; - /* topmost window is flashing - due to invalid input on other - window */ - - int s_iScrolling ; /* scrollbar is scrolling */ - int s_iWrongButtonUp ; /* number of consecutive scrollbar's WM_LBUTTONUP encountered by gtProcessMessages */ - int s_iMaxWrongButtonUp ; - /* max number of s_iWrongButtonUp. If it goes higher than this number, - the scrollbar is forced to stop */ - - TCHAR szAppName[13] ; - TCHAR szSubWinName[25] ; - BOOL s_bSWRegistered ; - - HINSTANCE hInstance; - - UINT s_usNumWindows; /*number of windows */ - UINT s_usCurWindow ; /*current window handled by HB_GT_FUNC(...) */ - - WIN_DATA *s_pWindows[ WVW_MAXWINDOWS ]; /*array of WIN_DATA */ - APP_DATA *s_sApp; /*application wide vars */ - -}WVW_DATA ; - - //#define HB_RETHANDLE( h ) hb_retptr( ( void * ) ( h ) ) - //#define HB_PARHANDLE( n ) hb_parptr( n ) - //#define HB_STOREHANDLE( h, n ) hb_storptr( ( void * ) ( h ), n ) - #define HB_RETHANDLE( h ) hb_retnl( ( LONG ) ( h ) ) - #define HB_PARHANDLE( n ) ( ( LONG ) hb_parnl( n ) ) - #define HB_STOREHANDLE( h, n ) hb_stornl( ( LONG ) ( h ), n ) -HB_EXTERN_BEGIN -extern HANDLE hb_hInstance; -extern HANDLE hb_hPrevInstance; - -/* Get functions for internal Data */ -extern BOOL hb_gt_wvw_GetMainCoordMode( void ); -extern UINT hb_gt_wvw_GetNumWindows( void ); -extern UINT hb_gt_wvw_GetCurWindow( void ); -extern APP_DATA* hb_gt_wvwGetAppData( void ); -extern WIN_DATA * hb_gt_wvw_GetWindowsData( UINT iWin ) ; -extern WVW_DATA * hb_getWvwData( void ) ; -extern char * hb_gt_wvw_GetAppName( void ); -extern void hb_gt_wvwResetWindow( UINT usWinNum ); -extern int HB_EXPORT hb_gt_wvwGetLastMenuEvent( UINT usWinNum ); -extern int HB_EXPORT hb_gt_wvwSetLastMenuEvent( UINT usWinNum, int iLastMenuEvent ); -extern BOOL hb_gt_wvwSetMenuKeyEvent( UINT usWinNum, int iMenuKeyEvent ); -/* bitmap caching functions: */ -extern HBITMAP FindBitmapHandle(const char * szFileName, int * piWidth, int * piHeight); -extern void AddBitmapHandle(const char * szFileName, HBITMAP hBitmap, int iWidth, int iHeight); - -extern void hb_gt_wvwFUNCPrologue(BYTE byNumCoord, int * iRow1, int * iCol1, int * iRow2, int * iCol2); -extern void hb_gt_wvwFUNCEpilogue( void ); -extern void hb_wvw_HBFUNCPrologue(UINT usWinNum, - USHORT * pusRow1, USHORT * pusCol1, - USHORT * pusRow2, USHORT * pusCol2); -extern RECT hb_gt_wvwGetXYFromColRowRect( WIN_DATA * pWindowData, RECT colrow ); -extern POINT hb_gt_wvwGetXYFromColRow( WIN_DATA * pWindowData, USHORT col, USHORT row ); -extern HB_EXPORT void hb_gt_wvwDrawBoxRaised( UINT usWinNum, int iTop, int iLeft, int iBottom, int iRight, - BOOL bTight ) ; -extern HB_EXPORT void hb_gt_wvwDrawBoxRecessed( UINT usWinNum, int iTop, int iLeft, int iBottom, int iRight, - BOOL bTight ); - -extern BOOL HB_EXPORT hb_gt_wvwDrawImage( UINT usWinNum, int x1, int y1, int wd, int ht, const char * image, - BOOL bTransparent ); -extern HB_EXPORT void hb_gt_wvwDrawOutline( UINT usWinNum, int iTop, int iLeft, int iBottom, int iRight ); -extern DWORD hb_gt_wvwGetColorData( int iIndex ); -extern BOOL HB_EXPORT hb_gt_wvwRenderPicture( UINT usWinNum, int x1, int y1, int wd, int ht, IPicture * iPicture, - BOOL bTransp ); -extern BOOL GetImageDimension(const char * image, int * pWidth, int * pHeight); -extern BOOL GetIPictDimension(IPicture * pPic, int * pWidth, int * pHeight); -extern BOOL HB_EXPORT hb_gt_wvwRenderPicture( UINT usWinNum, int x1, int y1, int wd, int ht, IPicture * iPicture, - BOOL bTransp ); -extern HB_EXPORT IPicture * rr_LoadPictureFromResource(const char * resname,UINT iresimage,LONG *lwidth,LONG *lheight); -extern HB_EXPORT IPicture * rr_LoadPicture(const char * filename,LONG * lwidth,LONG * lheight); -extern LRESULT CALLBACK hb_gt_wvwTBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); -extern void hb_gt_wvwTBinitSize( WIN_DATA * pWindowData, HWND hWndTB ); -extern int IndexToCommand(HWND hWndTB, int iIndex); -extern int CommandToIndex(HWND hWndTB, int iCommand); -extern BOOL AddTBButton(HWND hWndToolbar, char * szBitmap, UINT uiBitmap, char * pszLabel, int iCommand, int iBitmapType, BOOL bMap3Dcolors, WIN_DATA * pWindowData, BOOL bDropdown); -extern RECT hb_gt_wvwGetColRowFromXYRect( WIN_DATA * pWIndowData, RECT xy ); -extern BYTE hb_wvw_LineHeight( WIN_DATA * pWindowData ); -extern DWORD hb_gt_wvwProcessMessages( WIN_DATA * pWindowData ); -/* control (eg. scrollbar) supporters: */ -extern HWND FindControlHandle(UINT usWinNum, BYTE byCtrlClass, UINT uiCtrlid, byte * pbStyle); -extern UINT FindControlId(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, byte * pbStyle); -extern UINT LastControlId(UINT usWinNum, BYTE byCtrlClass); -extern void AddControlHandle(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, UINT uiCtrlid, PHB_ITEM phiCodeBlock, RECT rCtrl, RECT rOffCtrl, byte bStyle); - -extern CONTROL_DATA * GetControlData(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, UINT uiCtrlid); - -extern BOOL StoreControlProc(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, WNDPROC OldProc); -extern WNDPROC GetControlProc(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl); -extern LRESULT CALLBACK hb_gt_wvwXBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); -extern LRESULT CALLBACK hb_gt_wvwBtnProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); -extern UINT ButtonCreate( UINT usWinNum, USHORT usTop, USHORT usLeft, USHORT usBottom, USHORT usRight, LPCTSTR lpszCaption, - char * szBitmap, UINT uiBitmap, PHB_ITEM phbiCodeBlock, - int iOffTop, int iOffLeft, int iOffBottom, int iOffRight, - double dStretch, BOOL bMap3Dcolors, - int iStyle ); -extern LRESULT CALLBACK hb_gt_wvwCBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); -extern LONG GetFontDialogUnits(HWND h,HFONT f); -extern HFONT hb_gt_wvwGetFont( const char * pszFace, int iHeight, int iWidth, int iWeight, int iQuality, int iCodePage ); -extern LRESULT CALLBACK hb_gt_wvwEBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); -extern USHORT hb_gt_wvwGetMouseX( WIN_DATA * pWindowData ); -extern USHORT hb_gt_wvwGetMouseY( WIN_DATA * pWindowData ); -extern USHORT hb_gt_wvwRowOfs( UINT usWinNum ); -extern USHORT hb_gt_wvwColOfs( UINT usWinNum ); -extern HB_EXPORT BOOL CALLBACK hb_gt_wvwDlgProcModal( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ); -extern HB_EXPORT BOOL CALLBACK hb_gt_wvwDlgProcMLess( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ); -extern IPicture * hb_gt_wvwLoadPicture( const char * image ); -extern BOOL HB_EXPORT hb_gt_wvwDestroyPicture( IPicture * iPicture ); -extern int nCopyAnsiToWideChar( LPWORD lpWCStr, LPSTR lpAnsiIn ); -extern LPWORD lpwAlign( LPWORD lpIn ); -HB_EXTERN_END - -#endif +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * Video subsystem for Win32 using GUI windows instead of Console + * WITH MULTIPLE WINDOW SUPPORT + * Copyright 2004 Budyanto Dj. + * + * initially based on: + * + * Header File for Video subsystem for Win32 using GUI windows instead of Console + * Copyright 2003 Peter Rees + * Rees Software & Systems Ltd + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +/* TODO: Disabled UNICODE until this code gets support for it. */ +#ifdef UNICODE + #undef UNICODE +#endif + +#ifndef HB_WVW_H_ +#define HB_WVW_H_ + +#define HB_OS_WIN_USED + +#define TTS_BALLOON 0x40 // added by MAG + +#define WINVER 0x0500 +#define _WIN32_WINNT 0x0500 + +#ifndef _WIN32_IE + #define _WIN32_IE 0x0400 +#endif + +/*-------------------------------------------------------------------*/ + +/* NOTE: User programs should never call this layer directly! */ + +/* This definition has to be placed before #include "hbapigt.h" */ + +/*-------------------------------------------------------------------*/ + +#define HB_GT_NAME WVW + +/*-------------------------------------------------------------------*/ + +#ifndef CINTERFACE + #define CINTERFACE 1 +#endif + +#include "hbset.h" +#include "hbgtcore.h" +#include "hbinit.h" +#include "hbapigt.h" +#include "hbapierr.h" +#include "hbapiitm.h" +#include "inkey.ch" +#include "error.ch" +#include "hbvm.h" +#include "hbstack.h" + +#include "hbole.h" + +#include +#include +#include + +#include /* fmod */ +#include +#include +#include + +#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__DMC__) + #include + #include + #include + #include + + #if defined(_MSC_VER) || defined( __DMC__ ) + #include + + #if ! defined( _MSC_VER ) + + #if !defined( LONG_PTR ) + typedef __int64 LONG_PTR ; + #ifndef SetWindowLongPtr + #define SetWindowLongPtr SetWindowLong + #endif + #ifndef GetWindowLongPtr + #define GetWindowLongPtr GetWindowLong + #endif + #endif + #endif + #endif +#else + #include +#endif + +#include +#include + +/*-------------------------------------------------------------------*/ + +/* xHarbour compatible definitions */ +#if !defined( K_SH_LEFT ) +#define K_SH_LEFT K_LEFT /* Shift-Left == Left */ +#define K_SH_UP K_UP /* Shift-Up == Up */ +#define K_SH_RIGHT K_RIGHT /* Shift-Right == Right */ +#define K_SH_DOWN K_DOWN /* Shift-Down == Down */ +#define K_SH_INS K_INS /* Shift-Ins == Ins */ +#define K_SH_DEL K_DEL /* Shift-Del == Del */ +#define K_SH_HOME K_HOME /* Shift-Home == Home */ +#define K_SH_END K_END /* Shift-End == End */ +#define K_SH_PGUP K_PGUP /* Shift-PgUp == PgUp */ +#define K_SH_PGDN K_PGDN /* Shift-PgDn == PgDn */ +#define K_SH_RETURN K_RETURN /* Shift-Enter == Enter */ +#define K_SH_ENTER K_ENTER /* Shift-Enter == Enter */ +#endif + +#define WVW_MAXWINDOWS 40 + +#define WVW_MAXWINNAMELENGTH 256 + +#define WVW_DEFAULT_MENUKEYEVENT 1024 + +#define WVW_MAX_STATUS_PARTS 40 /* max # of parts in Status Bar */ +#define WVW_SPACE_BETWEEN_PARTS 2 /* pixel space between Status Bar's parts */ + +#define WVW_ID_SYSTEM_TIMER 1 + +#define WVW_ID_BASE_STATUSBAR 100 +#define WVW_ID_BASE_TIMER 100 + +#define WVW_ID_BASE_TOOLTIP 100 + +#define WVW_ID_BASE_TOOLBAR 100 + +#define WVW_ID_BASE_SCROLLBAR 100 + +#define WVW_ID_BASE_PROGRESSBAR 100 +#define WVW_ID_BASE_STATIC 200 + +#define WVW_ID_BASE_PUSHBUTTON 64000 +#define WVW_ID_BASE_CHECKBOX 64000 + +#define WVW_ID_MAX_PUSHBUTTON WVW_ID_BASE_PUSHBUTTON+200-1 +#define WVW_ID_MAX_CHECKBOX WVW_ID_BASE_CHECKBOX+200-1 +/* ie. effectively there are max 200 buttons on a window */ + +#define WVW_ID_BASE_COMBOBOX WVW_ID_MAX_PUSHBUTTON+1 +#define WVW_CB_KBD_STANDARD 0 +#define WVW_CB_KBD_CLIPPER 1 + +#define WVW_COMBOBOX_MAXLEN 255 /* maximum length of combobox string */ + +#define WVW_ID_MAX_COMBOBOX WVW_ID_BASE_COMBOBOX+200-1 + +#define WVW_ID_BASE_EDITBOX WVW_ID_MAX_COMBOBOX+1 +#define WVW_ID_MAX_EDITBOX WVW_ID_BASE_EDITBOX+200-1 + +#define WVW_EB_SINGLELINE 1 +#define WVW_EB_MULTILINE 2 + +#define WVW_CHAR_QUEUE_SIZE 128 +#define WVW_MAX_TITLE_SIZE 128 +#define WVW_CHAR_BUFFER 1024 +#define WVW_MAX_ROWS 256 +#define WVW_MAX_COLS 256 +#define WVW_DEFAULT_ROWS 25 +#define WVW_DEFAULT_COLS 80 + +#define WVW_PICTURES_MAX 20 + +#define WVW_FONTS_MAX 20 +#define WVW_PENS_MAX 20 +#define WVW_DLGML_MAX 20 +#define WVW_DLGMD_MAX 20 + +/* default maximum number of user bitmap cache + One bitmap cache currently takes 280 bytes (see BITMAP_HANDLE). + See also wvw_setMaxBMCache(). + */ +#define WVW_DEFAULT_MAX_BMCACHE 20 + +/* Como as descri‡äes sÆo grandes, precisei aumetar isso - Peluffo - 26/10/2007 + #define WVW_TB_LABELMAXLENGTH 40 + */ +#define WVW_TB_LABELMAXLENGTH 100 + +//#define WVW_WHICH_WINDOW ( ISNIL( 1 ) ? ( s_bMainCoordMode ? s_usNumWindows-1 : s_usCurWindow ) : ((UINT) hb_parni( 1 )) ) +#define WVW_WHICH_WINDOW ( ISNIL( 1 ) ? ( hb_gt_wvw_GetMainCoordMode() ? ((hb_gt_wvw_GetNumWindows())-1) : hb_gt_wvw_GetCurWindow() ) : ((UINT) hb_parni( 1 )) ) +/*-------------------------------------------------------------------*/ + +#define BLACK RGB( 0x0 ,0x0 ,0x0 ) +#define BLUE RGB( 0x0 ,0x0 ,0x85 ) +#define GREEN RGB( 0x0 ,0x85,0x0 ) +#define CYAN RGB( 0x0 ,0x85,0x85 ) +#define RED RGB( 0x85,0x0 ,0x0 ) +#define MAGENTA RGB( 0x85,0x0 ,0x85 ) +#define BROWN RGB( 0x85,0x85,0x0 ) +#define WHITE RGB( 0xC6,0xC6,0xC6 ) +#define LIGHT_GRAY RGB( 0x60,0x60,0x60 ) +#define BRIGHT_BLUE RGB( 0x00,0x00,0xFF ) +#define BRIGHT_GREEN RGB( 0x60,0xFF,0x60 ) +#define BRIGHT_CYAN RGB( 0x60,0xFF,0xFF ) +#define BRIGHT_RED RGB( 0xF8,0x00,0x26 ) +#define BRIGHT_MAGENTA RGB( 0xFF,0x60,0xFF ) +#define YELLOW RGB( 0xFF,0xFF,0x00 ) +#define BRIGHT_WHITE RGB( 0xFF,0xFF,0xFF ) + +/*-------------------------------------------------------------------*/ + +#if defined(__DMC__) + + #define SBT_TOOLTIPS 0x0800 + #define SB_SETICON (WM_USER+15) + #define SB_SETTIPTEXT (WM_USER+17) + #define SB_GETTIPTEXT (WM_USER+18) + #define TBSTYLE_FLAT 0x0800 + #define TBSTYLE_LIST 0x1000 + #define BTNS_WHOLEDROPDOWN 0x0080 + #define TBSTYLE_CUSTOMERASE 0x2000 + #define IDB_HIST_SMALL_COLOR 8 + #define IDB_HIST_LARGE_COLOR 9 + #define TB_SETMAXTEXTROWS (WM_USER + 60) + #define PBS_VERTICAL 0x04 + #define PBS_SMOOTH 0x01 + #define CCM_FIRST 0x2000 + #define CCM_SETBKCOLOR (CCM_FIRST + 1) + #define PBM_SETBKCOLOR CCM_SETBKCOLOR + #define PBM_SETBARCOLOR (WM_USER+9) + #define PBM_GETRANGE (WM_USER+7) + #define PBM_GETPOS (WM_USER+8) + + typedef DWORD UINT_PTR; + + typedef struct + { + int iLow; + int iHigh; + } PBRANGE, *PPBRANGE; + + #define ICC_BAR_CLASSES 0x00000004 + + typedef USHORT COLOR16; + + typedef struct _TRIVERTEX { + LONG x; + LONG y; + COLOR16 Red; + COLOR16 Green; + COLOR16 Blue; + COLOR16 Alpha; + } TRIVERTEX,*PTRIVERTEX,*LPTRIVERTEX; + + typedef struct tagINITCOMMONCONTROLSEX { + DWORD dwSize; + DWORD dwICC; + } INITCOMMONCONTROLSEX, *LPINITCOMMONCONTROLSEX; + + WINCOMMCTRLAPI BOOL WINAPI InitCommonControlsEx(LPINITCOMMONCONTROLSEX); + + typedef struct _GRADIENT_RECT { + ULONG UpperLeft; + ULONG LowerRight; + } GRADIENT_RECT,*PGRADIENT_RECT,*LPGRADIENT_RECT; +#endif +/*-------------------------------------------------------------------*/ + +#define WM_MY_UPDATE_CARET ( WM_USER + 0x0101 ) + +typedef BOOL ( WINAPI *wvwGradientFill ) ( + HDC hdc, + PTRIVERTEX pVertex, + ULONG dwNumVertex, + PVOID pMesh, + ULONG dwNumMesh, + ULONG dwMode ); + +/*-------------------------------------------------------------------*/ + +#ifndef _MAX_PATH + #define _MAX_PATH 256 +#endif + +typedef struct bitmap_handle +{ + char szFilename[_MAX_PATH+1]; + HBITMAP hBitmap; + int iWidth, iHeight; + struct bitmap_handle * pNext; +} BITMAP_HANDLE; + +typedef struct picture_handle +{ + char szFilename[_MAX_PATH+1]; + IPicture * iPicture; + int iWidth, iHeight; + struct picture_handle * pNext; +} PICTURE_HANDLE; + +/*-------------------------------------------------------------------*/ + +#define WVW_CONTROL_SCROLLBAR 1 +#define WVW_CONTROL_PUSHBUTTON 2 +#define WVW_CONTROL_CHECKBOX 2 +#define WVW_CONTROL_PROGRESSBAR 3 +#define WVW_CONTROL_COMBOBOX 4 +#define WVW_CONTROL_EDITBOX 5 +#define WVW_CONTROL_STATIC 6 + +#define WVW_MAXCAPTIONLENGTH 80 + + +typedef struct control_data +{ + BYTE byCtrlClass; + HWND hWndCtrl; + UINT uiCtrlid; + PHB_ITEM phiCodeBlock; + BOOL bBusy; + UINT uiBusy; + RECT rCtrl, rOffCtrl; + + /* SCROLLBAR specifics: */ + /* also used by combobox to store kbd type */ + /* also used by editbox to store editbox type */ + byte bStyle; + + /* PUSHBUTTON & CHECKBOX specifics: */ + WNDPROC OldProc; + + struct control_data * pNext; +} CONTROL_DATA; + +/*-------------------------------------------------------------------*/ + +typedef struct app_data +{ + BOOL CaretExist; /* TRUE if a caret has been created */ + BOOL displayCaret; /* flag to indicate if caret is on */ + + BOOL Win9X; /* Flag to say if running on Win9X not NT/2000/XP */ + BOOL AltF4Close; /* Can use Alt+F4 to close application */ + + HPEN penWhite; /* White pen to draw GDI elements */ + HPEN penBlack; /* Black pen to draw GDI elements */ + HPEN penWhiteDim; /* White dim pen to draw GDI elements */ + HPEN penDarkGray; /* Dark gray pen to draw GDI elements */ + HPEN penGray; /* Gray pen equivalent to Clipper White */ + HPEN penNull; /* Null pen */ + HPEN OriginalPen; /* Handle da Pen original do Device Context */ + HPEN currentPen; /* Handle to current pen settable at runtime */ + HPEN gridPen; /* Handle da Pen para Grid */ + HBRUSH currentBrush; /* Handle to current brush settable by runtime */ + HBRUSH diagonalBrush; /* Handle to diaoganl brush to draw scrollbars */ + HBRUSH solidBrush; /* Handle to solid brush */ + HBRUSH wvwWhiteBrush; /* Wvw specific White colored brush */ + HBRUSH OriginalBrush; /* Handle da Brush original do Device Context */ + + IPicture *iPicture[ WVW_PICTURES_MAX ]; /* Array to hold the Picture Streams to avoid recurring loading and unloading */ + HFONT hUserFonts[ WVW_FONTS_MAX ] ; /* User defined font handles */ + HPEN hUserPens[ WVW_PENS_MAX ]; /* User defined pens */ + + HINSTANCE hMSImg32; /* Handle to the loaded library msimg32.dll */ + wvwGradientFill pfnGF; /* Pointer to Address of the GradientFill function in MSImg32.dll */ + + HWND hDlgModeless[ WVW_DLGML_MAX ]; /* Handle to a modeless dialog */ + + PHB_ITEM pFunc[ WVW_DLGML_MAX ]; /* Function pointer for WndProc */ + /* TODO: pcbFunc is redundant and should be removed */ + PHB_ITEM pcbFunc[ WVW_DLGML_MAX ]; /* codeblock for WndProc */ + int iType[ WVW_DLGML_MAX ]; /* Type of Function Pointers - Function 1, Block 2, Method 3 */ + + HWND hDlgModal[ WVW_DLGMD_MAX ]; /* Handle to a modal dialog */ + PHB_ITEM pFuncModal[ WVW_DLGMD_MAX ]; /* Function pointer for WndProc */ + /* TODO: pcbFuncModal is redundant and should be removed */ + PHB_ITEM pcbFuncModal[ WVW_DLGMD_MAX ]; /* codeblock for WndProc */ + int iTypeModal[ WVW_DLGMD_MAX ]; /* Type of Function Pointers - Function 1, Block 2, Method 3 */ + + BITMAP_HANDLE * pbhBitmapList; + PICTURE_HANDLE * pphPictureList; + + BITMAP_HANDLE * pbhUserBitmap; /* User bitmap (wvw_drawimage) */ + UINT uiBMcache; /* number of bitmap cached */ + UINT uiMaxBMcache; /* maximum number of bitmap cached */ + + PHB_DYNS pSymWVW_PAINT; /* Stores pointer to WVW_PAINT function */ + PHB_DYNS pSymWVW_SETFOCUS; /* Stores pointer to WVW_SETFOCUS function */ + PHB_DYNS pSymWVW_KILLFOCUS; /* Stores pointer to WVW_KILLFOCUS function */ + PHB_DYNS pSymWVW_MOUSE; /* Stores pointer to WVW_MOUSE function */ + PHB_DYNS pSymWVW_TBMOUSE; /* Stores pointer to WVW_TBMOUSE function */ + PHB_DYNS pSymWVW_MENUSELECT; /* Stores pointer to WVW_MENUSELECT function*/ + + PHB_DYNS pSymWVW_SIZE; /* Stores pointer to WVW_SIZE function */ + PHB_DYNS pSymWVW_MOVE; /* Stores pointer to WVW_MOVE function */ + + PHB_DYNS pSymWVW_INPUTFOCUS; /* Stores pointer to WVW_INPUTFOCUS function*/ + + PHB_DYNS pSymWVW_TIMER; /* Stores pointer to WVW_TIMER function */ + PHB_DYNS pSymWVW_ONCTLCOLOR; /* Stores pointer to WVW_TIMER function */ + +} APP_DATA; + +typedef struct win_data +{ + UINT byWinId; /*x Window's Id, a number 0..WVWMAXWINDOWS */ + TCHAR szWinName[ WVW_MAXWINNAMELENGTH ]; /*x name of Window ~ szAppName for Window 0 */ + + int byLineSpacing; /*x linespacing in pixels */ + int iLSpaceColor; /*x linespacing color index */ + + USHORT usRowOfs; /*x offset to Main Window's (0,0) */ + USHORT usColOfs; /*x offset to Main Window's (0,0) */ + int uiDispCount; /*x pending DispEnd() request */ + BOOL bPaintPending; /*x pending WVW_PAINT() execution */ + RECT rPaintPending; /*x rect of pending bPaintPending */ + HWND hStatusBar; /* handle to status bar */ + USHORT usSBHeight; /* height of status bar */ + + HWND hToolBar; /* TB handle to toolbar */ + USHORT usTBHeight; /* TB height of toolbar */ + int iStartStdBitmap, + iStartViewBitmap, + iStartHistBitmap; /* start of bitmap index */ + int iTBImgWidth, + iTBImgHeight; /* image width and height */ + WNDPROC tbOldProc; + + CONTROL_DATA * pcdCtrlList; /* lists of created controls, eg. scrollbars */ + + HFONT hPBfont; /* handle to font used by pushbuttons & checkboxes */ + + HFONT hCBfont; /* handle to font used by comboboxes */ + + HFONT hEBfont; /* handle to font used by editboxes */ + + HFONT hSBfont; /* handle to font used by pushbuttons & checkboxes */ + + HFONT hCXfont; /* handle to font used by checkboxes when 'focused' */ + HFONT hSTfont; /* handle to font used by checkboxes when 'focused' */ + + BOOL bSBPaint; + COLORREF cSBColorForeground; + COLORREF cSBColorBackground; + + BOOL bIgnoreWM_SYSCHAR; + BOOL bPaint; + BOOL bGetFocus; + + POINT PTEXTSIZE; /* size of the fixed width font */ + BOOL FixedFont; /* TRUE if current font is a fixed font */ + int FixedSize[ WVW_MAX_COLS ]; /* buffer for ExtTextOut() to emulate fixed pitch when Proportional font selected */ + USHORT ROWS; /* number of displayable rows in window */ + USHORT COLS; /* number of displayable columns in window */ + COLORREF foreground; /* foreground colour */ + + COLORREF background; /* background colour */ + + USHORT BUFFERSIZE; /* size of the screen text buffer */ + BYTE byBuffer[ WVW_MAX_ROWS * WVW_MAX_COLS ]; /* buffer with the text to be displayed on the screen */ + BYTE byColors[ WVW_MAX_ROWS * WVW_MAX_COLS ]; + BYTE *pBuffer; /* " " " */ + BYTE *pColors; /* " " " */ + POINT caretPos; /* the current caret position */ + + int CaretSize; /*x this may be specific to each windows, eg. different font size */ + POINT mousePos; /* the last mousedown position */ + BOOL MouseMove; /* Flag to say whether to return mouse movement events */ + HWND hWnd; /* the window handle */ + int Keys[ WVW_CHAR_QUEUE_SIZE ]; /* Array to hold the characters & events */ + int keyPointerIn; /* Offset into key array for character to be placed */ + int keyPointerOut; /* Offset into key array of next character to read */ + int keyLast; + + RECT RectInvalid; /* Invalid rectangle if DISPBEGIN() active */ + HFONT hFont; + int fontHeight; /* requested font height */ + int fontWidth ; /* requested font width */ + int fontWeight; /* Bold level */ + int fontQuality; + char fontFace[ LF_FACESIZE ]; /* requested font face name LF_FACESIZE #defined in wingdi.h */ + + int LastMenuEvent; /* Last menu item selected */ + int MenuKeyEvent; /* User definable event number for windows menu command */ + BOOL CentreWindow; /* True if window is to be Reset into centre of window */ + + /* if CentreWindow is FALSE, two following settings are examined */ + BOOL HCentreWindow; /* True if window is to be Reset into centre of window, horizontally */ + BOOL VCentreWindow; /* True if window is to be Reset into centre of window, vertically */ + + int CodePage; /* Code page to use for display characters */ + + BOOL InvalidateWindow; /* Flag for controlling whether to use ScrollWindowEx() */ + BOOL EnableShortCuts; /* Determines whether ALT key enables menu or system menu */ + + HDC hdc; /* Handle to Windows Device Context */ + + HMENU hPopup; /* Handle of context menu invokable with right click */ + + HDC hCompDC; /* Compatible DC to _s.hdc */ + HWND hWndTT; /* Handle to hold tooltip information */ + BOOL bToolTipActive; /* Flag to set whether tooltip is active or not */ + HICON hIcon; + +} WIN_DATA; + +typedef struct wvw_data +{ + UINT s_uiPaintRefresh ; /* milliseconds between timer check */ + + BOOL s_bMainCoordMode ; /* in this mode, all HB_GT_FUNC() uses Main Window's coordinate */ + + BOOL s_bVertCaret ; /* if TRUE, caret is in Vertical style */ + + BOOL s_bNOSTARTUPSUBWINDOW ; /* if TRUE, subwindow will not be displayed during opening */ + /* use WVW_NOSTARTUPSUBWINDOW() to check/set it */ + + BOOL s_bDefCentreWindow ; /* default CentreWindow setting for subwindows */ + + BOOL s_bDefHCentreWindow ; /* default HCentreWindow setting for subwindows */ + BOOL s_bDefVCentreWindow ; /* default VCentreWindow setting for subwindows */ + + int s_byDefLineSpacing ; /* default line spacing */ + + int s_iDefLSpaceColor ; /* if >; //= 0 this will be the color index for spacing between lines */ + + BOOL s_bAllowNonTop ; /* allow non-topmost window's control to accept input */ + + BOOL s_bRecurseCBlock ; /* allow control's codeblock to recurse */ + + LOGFONT s_lfPB ; /* default font for pushbuttons */ + + LOGFONT s_lfSB ; /* default font for statusbar */ + LOGFONT s_lfCB ; /* default font for comboboxes */ + + LOGFONT s_lfEB ; /* default font for editboxes */ + + LOGFONT s_lfCX ; /* font for 'focused'checkbox */ + LOGFONT s_lfST ; /* font for control */ + + HWND hWndTT ; /* Window handle Tool Tip */ + +/* read only by user ***/ + +/* for GTWVW private use: ***********************************************/ + BOOL s_bQuickSetMode ; /* quick SetMode(), to reset maxrow() and maxcol() only */ + + BOOL s_bFlashingWindow ; + /* topmost window is flashing + due to invalid input on other + window */ + + int s_iScrolling ; /* scrollbar is scrolling */ + int s_iWrongButtonUp ; /* number of consecutive scrollbar's WM_LBUTTONUP encountered by gtProcessMessages */ + int s_iMaxWrongButtonUp ; + /* max number of s_iWrongButtonUp. If it goes higher than this number, + the scrollbar is forced to stop */ + + TCHAR szAppName[13] ; + TCHAR szSubWinName[25] ; + BOOL s_bSWRegistered ; + + HINSTANCE hInstance; + + UINT s_usNumWindows; /*number of windows */ + UINT s_usCurWindow ; /*current window handled by HB_GT_FUNC(...) */ + + WIN_DATA *s_pWindows[ WVW_MAXWINDOWS ]; /*array of WIN_DATA */ + APP_DATA *s_sApp; /*application wide vars */ + +}WVW_DATA ; + + //#define HB_RETHANDLE( h ) hb_retptr( ( void * ) ( h ) ) + //#define HB_PARHANDLE( n ) hb_parptr( n ) + //#define HB_STOREHANDLE( h, n ) hb_storptr( ( void * ) ( h ), n ) + #define HB_RETHANDLE( h ) hb_retnl( ( LONG ) ( h ) ) + #define HB_PARHANDLE( n ) ( ( LONG ) hb_parnl( n ) ) + #define HB_STOREHANDLE( h, n ) hb_stornl( ( LONG ) ( h ), n ) +HB_EXTERN_BEGIN +extern HANDLE hb_hInstance; +extern HANDLE hb_hPrevInstance; + +/* Get functions for internal Data */ +extern BOOL hb_gt_wvw_GetMainCoordMode( void ); +extern UINT hb_gt_wvw_GetNumWindows( void ); +extern UINT hb_gt_wvw_GetCurWindow( void ); +extern APP_DATA* hb_gt_wvwGetAppData( void ); +extern WIN_DATA * hb_gt_wvw_GetWindowsData( UINT iWin ) ; +extern WVW_DATA * hb_getWvwData( void ) ; +extern char * hb_gt_wvw_GetAppName( void ); +extern void hb_gt_wvwResetWindow( UINT usWinNum ); +extern int HB_EXPORT hb_gt_wvwGetLastMenuEvent( UINT usWinNum ); +extern int HB_EXPORT hb_gt_wvwSetLastMenuEvent( UINT usWinNum, int iLastMenuEvent ); +extern BOOL hb_gt_wvwSetMenuKeyEvent( UINT usWinNum, int iMenuKeyEvent ); +/* bitmap caching functions: */ +extern HBITMAP FindBitmapHandle(const char * szFileName, int * piWidth, int * piHeight); +extern void AddBitmapHandle(const char * szFileName, HBITMAP hBitmap, int iWidth, int iHeight); + +extern void hb_gt_wvwFUNCPrologue(BYTE byNumCoord, int * iRow1, int * iCol1, int * iRow2, int * iCol2); +extern void hb_gt_wvwFUNCEpilogue( void ); +extern void hb_wvw_HBFUNCPrologue(UINT usWinNum, + USHORT * pusRow1, USHORT * pusCol1, + USHORT * pusRow2, USHORT * pusCol2); +extern RECT hb_gt_wvwGetXYFromColRowRect( WIN_DATA * pWindowData, RECT colrow ); +extern POINT hb_gt_wvwGetXYFromColRow( WIN_DATA * pWindowData, USHORT col, USHORT row ); +extern HB_EXPORT void hb_gt_wvwDrawBoxRaised( UINT usWinNum, int iTop, int iLeft, int iBottom, int iRight, + BOOL bTight ) ; +extern HB_EXPORT void hb_gt_wvwDrawBoxRecessed( UINT usWinNum, int iTop, int iLeft, int iBottom, int iRight, + BOOL bTight ); + +extern BOOL HB_EXPORT hb_gt_wvwDrawImage( UINT usWinNum, int x1, int y1, int wd, int ht, const char * image, + BOOL bTransparent ); +extern HB_EXPORT void hb_gt_wvwDrawOutline( UINT usWinNum, int iTop, int iLeft, int iBottom, int iRight ); +extern DWORD hb_gt_wvwGetColorData( int iIndex ); +extern BOOL HB_EXPORT hb_gt_wvwRenderPicture( UINT usWinNum, int x1, int y1, int wd, int ht, IPicture * iPicture, + BOOL bTransp ); +extern BOOL GetImageDimension(const char * image, int * pWidth, int * pHeight); +extern BOOL GetIPictDimension(IPicture * pPic, int * pWidth, int * pHeight); +extern BOOL HB_EXPORT hb_gt_wvwRenderPicture( UINT usWinNum, int x1, int y1, int wd, int ht, IPicture * iPicture, + BOOL bTransp ); +extern HB_EXPORT IPicture * rr_LoadPictureFromResource(const char * resname,UINT iresimage,LONG *lwidth,LONG *lheight); +extern HB_EXPORT IPicture * rr_LoadPicture(const char * filename,LONG * lwidth,LONG * lheight); +extern LRESULT CALLBACK hb_gt_wvwTBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); +extern void hb_gt_wvwTBinitSize( WIN_DATA * pWindowData, HWND hWndTB ); +extern int IndexToCommand(HWND hWndTB, int iIndex); +extern int CommandToIndex(HWND hWndTB, int iCommand); +extern BOOL AddTBButton(HWND hWndToolbar, char * szBitmap, UINT uiBitmap, char * pszLabel, int iCommand, int iBitmapType, BOOL bMap3Dcolors, WIN_DATA * pWindowData, BOOL bDropdown); +extern RECT hb_gt_wvwGetColRowFromXYRect( WIN_DATA * pWIndowData, RECT xy ); +extern BYTE hb_wvw_LineHeight( WIN_DATA * pWindowData ); +extern DWORD hb_gt_wvwProcessMessages( WIN_DATA * pWindowData ); +/* control (eg. scrollbar) supporters: */ +extern HWND FindControlHandle(UINT usWinNum, BYTE byCtrlClass, UINT uiCtrlid, byte * pbStyle); +extern UINT FindControlId(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, byte * pbStyle); +extern UINT LastControlId(UINT usWinNum, BYTE byCtrlClass); +extern void AddControlHandle(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, UINT uiCtrlid, PHB_ITEM phiCodeBlock, RECT rCtrl, RECT rOffCtrl, byte bStyle); + +extern CONTROL_DATA * GetControlData(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, UINT uiCtrlid); + +extern BOOL StoreControlProc(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl, WNDPROC OldProc); +extern WNDPROC GetControlProc(UINT usWinNum, BYTE byCtrlClass, HWND hWndCtrl); +extern LRESULT CALLBACK hb_gt_wvwXBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); +extern LRESULT CALLBACK hb_gt_wvwBtnProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); +extern UINT ButtonCreate( UINT usWinNum, USHORT usTop, USHORT usLeft, USHORT usBottom, USHORT usRight, LPCTSTR lpszCaption, + char * szBitmap, UINT uiBitmap, PHB_ITEM phbiCodeBlock, + int iOffTop, int iOffLeft, int iOffBottom, int iOffRight, + double dStretch, BOOL bMap3Dcolors, + int iStyle ); +extern LRESULT CALLBACK hb_gt_wvwCBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); +extern LONG GetFontDialogUnits(HWND h,HFONT f); +extern HFONT hb_gt_wvwGetFont( const char * pszFace, int iHeight, int iWidth, int iWeight, int iQuality, int iCodePage ); +extern LRESULT CALLBACK hb_gt_wvwEBProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam ); +extern USHORT hb_gt_wvwGetMouseX( WIN_DATA * pWindowData ); +extern USHORT hb_gt_wvwGetMouseY( WIN_DATA * pWindowData ); +extern USHORT hb_gt_wvwRowOfs( UINT usWinNum ); +extern USHORT hb_gt_wvwColOfs( UINT usWinNum ); +extern HB_EXPORT BOOL CALLBACK hb_gt_wvwDlgProcModal( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ); +extern HB_EXPORT BOOL CALLBACK hb_gt_wvwDlgProcMLess( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ); +extern IPicture * hb_gt_wvwLoadPicture( const char * image ); +extern BOOL HB_EXPORT hb_gt_wvwDestroyPicture( IPicture * iPicture ); +extern int nCopyAnsiToWideChar( LPWORD lpWCStr, LPSTR lpAnsiIn ); +extern LPWORD lpwAlign( LPWORD lpIn ); +HB_EXTERN_END + +#endif diff --git a/harbour/examples/gtwvw/hbole.h b/harbour/examples/gtwvw/hbole.h index ea1cc10641..d090956b11 100644 --- a/harbour/examples/gtwvw/hbole.h +++ b/harbour/examples/gtwvw/hbole.h @@ -1,94 +1,94 @@ -/* - * $Id: hbole.h,v 1.2 2009/11/09 09:38:44 marchuet Exp $ - */ - -/* - * Harbour Project source code: - * Header file so MSVC can use ole in C mode while compile in C++ mode - * - * Copyright 2006 Paul Tucker - * www - http://www.harbour-project.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). - * - * As a special exception, the Harbour Project gives permission for - * additional uses of the text contained in its release of Harbour. - * - * The exception is that, if you link the Harbour libraries with other - * files to produce an executable, this does not by itself cause the - * resulting executable to be covered by the GNU General Public License. - * Your use of that executable is in no way restricted on account of - * linking the Harbour library code into it. - * - * This exception does not however invalidate any other reasons why - * the executable file might be covered by the GNU General Public License. - * - * This exception applies only to the code released by the Harbour - * Project under the name Harbour. If you copy code from other - * Harbour Project or Free Software Foundation releases into a copy of - * Harbour, as the General Public License permits, the exception does - * not apply to the code that you add in this way. To avoid misleading - * anyone as to the status of such modified files, you must delete - * this exception notice from them. - * - * If you write modifications of your own for Harbour, it is your choice - * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - * - */ - -/* - * These definitions prevent having to change any Platform SDK or MSVC - * standard files to use xHarbour - * - */ - -#ifndef HB_OLE_H_ -#define HB_OLE_H_ - -#if defined(_MSC_VER) && !defined(HB_OS_WIN_64) && \ - !defined(__LCC__) && !defined(__POCC__) && !defined(__XCC__) - -#ifndef CINTERFACE -#define CINTERFACE 1 -#endif - -#ifndef _REFGUID_DEFINED -#define _REFGUID_DEFINED 1 -#define REFGUID const GUID * const -#endif - -#ifndef _REFIID_DEFINED -#define _REFIID_DEFINED 1 -#define REFIID const IID * const -#endif - -#ifndef _REFCLSID_DEFINED -#define _REFCLSID_DEFINED 1 -#define REFCLSID const IID * const -#endif - -#ifndef _REFFMTID_DEFINED -#define _REFFMTID_DEFINED 1 -#define REFFMTID const IID * const -#endif - -#ifndef _SYS_GUID_OPERATOR_EQ_ -#define _SYS_GUID_OPERATOR_EQ_ 1 -#endif // _SYS_GUID_OPERATOR_EQ_ - -#endif // _MSC_VER -#endif // HB_OLE_H_ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * Header file so MSVC can use ole in C mode while compile in C++ mode + * + * Copyright 2006 Paul Tucker + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +/* + * These definitions prevent having to change any Platform SDK or MSVC + * standard files to use xHarbour + * + */ + +#ifndef HB_OLE_H_ +#define HB_OLE_H_ + +#if defined(_MSC_VER) && !defined(HB_OS_WIN_64) && \ + !defined(__LCC__) && !defined(__POCC__) && !defined(__XCC__) + +#ifndef CINTERFACE +#define CINTERFACE 1 +#endif + +#ifndef _REFGUID_DEFINED +#define _REFGUID_DEFINED 1 +#define REFGUID const GUID * const +#endif + +#ifndef _REFIID_DEFINED +#define _REFIID_DEFINED 1 +#define REFIID const IID * const +#endif + +#ifndef _REFCLSID_DEFINED +#define _REFCLSID_DEFINED 1 +#define REFCLSID const IID * const +#endif + +#ifndef _REFFMTID_DEFINED +#define _REFFMTID_DEFINED 1 +#define REFFMTID const IID * const +#endif + +#ifndef _SYS_GUID_OPERATOR_EQ_ +#define _SYS_GUID_OPERATOR_EQ_ 1 +#endif // _SYS_GUID_OPERATOR_EQ_ + +#endif // _MSC_VER +#endif // HB_OLE_H_ diff --git a/harbour/examples/hbdoc/examples/hbmisc/readme.txt b/harbour/examples/hbdoc/examples/hbmisc/readme.txt index b0f74f7da7..a3d7f64fe3 100644 --- a/harbour/examples/hbdoc/examples/hbmisc/readme.txt +++ b/harbour/examples/hbdoc/examples/hbmisc/readme.txt @@ -1,66 +1,66 @@ -/* - * $Id$ - */ - -Converted from an MS-DOS batch file for reference. -(the script and hbdoc has various problems, and it doesn't -currently work) - -@echo off -rem -rem $Id$ -rem - -if "%1" =="/OS2" goto OS2 -if "%1" =="/os2" goto OS2 -if "%1" =="/NGI" goto NG -if "%1" =="/ngi" goto NG -if "%1" =="/RTF" goto RTF -if "%1" =="/rtf" goto RTF -if "%1" =="/HTM" goto HTM -if "%1" =="/htm" goto HTM -ECHO Assembling input files -:help - echo. - echo Usage gendoc type - echo where type is: - echo /rtf for Winhelp output - echo /os2 for Os/2 help output - echo /ngi for Norton Guide output - echo /htm for HTML output - goto END - -ECHO Assembling input files -:NG -hbdoc /ngi hbmisc.lnk hbmisc.rsp -REM Compile the sources -Echo Compiling the sources -Echo Processing Input Files -Copy ngi\funcam.txt+ngi\funcn_.txt overview.ngi -Echo Compiling Sources -ngxc overview.ngi -Echo Linking the Guide -ngxl hbmisc.lnk -del *.ngi -del *.ngo -del ngi\*.txt -del ngi\*.ngi -del hbmisc.lnk -ren hbmisc.old hbmisc.lnk - -GOTO END -:OS2 - hbdoc /OS2 hbmisc.lnk hbmisc.rsp -GOTO END -:RTF - hbdoc /RTF hbmisc.lnk hbmisc.rsp - hcw harbour.hpj -del hbmisc.lnk -ren hbmisc.old hbmisc.lnk - -GOTO END -:HTM - hbdoc /HTM hbmisc.lnk hbmisc.rsp - GOTO END -:END -del ass*.bat +/* + * $Id$ + */ + +Converted from an MS-DOS batch file for reference. +(the script and hbdoc has various problems, and it doesn't +currently work) + +@echo off +rem +rem $Id$ +rem + +if "%1" =="/OS2" goto OS2 +if "%1" =="/os2" goto OS2 +if "%1" =="/NGI" goto NG +if "%1" =="/ngi" goto NG +if "%1" =="/RTF" goto RTF +if "%1" =="/rtf" goto RTF +if "%1" =="/HTM" goto HTM +if "%1" =="/htm" goto HTM +ECHO Assembling input files +:help + echo. + echo Usage gendoc type + echo where type is: + echo /rtf for Winhelp output + echo /os2 for Os/2 help output + echo /ngi for Norton Guide output + echo /htm for HTML output + goto END + +ECHO Assembling input files +:NG +hbdoc /ngi hbmisc.lnk hbmisc.rsp +REM Compile the sources +Echo Compiling the sources +Echo Processing Input Files +Copy ngi\funcam.txt+ngi\funcn_.txt overview.ngi +Echo Compiling Sources +ngxc overview.ngi +Echo Linking the Guide +ngxl hbmisc.lnk +del *.ngi +del *.ngo +del ngi\*.txt +del ngi\*.ngi +del hbmisc.lnk +ren hbmisc.old hbmisc.lnk + +GOTO END +:OS2 + hbdoc /OS2 hbmisc.lnk hbmisc.rsp +GOTO END +:RTF + hbdoc /RTF hbmisc.lnk hbmisc.rsp + hcw harbour.hpj +del hbmisc.lnk +ren hbmisc.old hbmisc.lnk + +GOTO END +:HTM + hbdoc /HTM hbmisc.lnk hbmisc.rsp + GOTO END +:END +del ass*.bat