mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 03:58:16 +01:00
------------------------------------------------------------------------ r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar) ------------------------------------------------------------------------ r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line Moved "DoneRegisterCheck" to global LCL ------------------------------------------------------------------------ r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line Moved "DoneRegisterCheck" to global LCL (more) ------------------------------------------------------------------------ r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line changed case true => True ------------------------------------------------------------------------ r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line fix file case ------------------------------------------------------------------------ r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line Moved Registration of TCustomCalendar ------------------------------------------------------------------------ r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line Moved PropertyToSkip for TCalender ------------------------------------------------------------------------ r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line merge r13913 #999e8b059d ------------------------------------------------------------------------ r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line cleanup WSCalendar ------------------------------------------------------------------------ r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line finish with ComCtrls ------------------------------------------------------------------------ r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line Moved dialogs ------------------------------------------------------------------------ r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line Moved dialogs ------------------------------------------------------------------------ r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line Moved ExtCtrls, ExtDlgs ------------------------------------------------------------------------ r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line Moved PropertyToSkip ------------------------------------------------------------------------ r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line Moved StdCtrls ------------------------------------------------------------------------ r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line Moved Buttons ------------------------------------------------------------------------ r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line remove DirSel ------------------------------------------------------------------------ r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterArrow ------------------------------------------------------------------------ r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton) ------------------------------------------------------------------------ r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterCustomCheckBox ------------------------------------------------------------------------ r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterXXX for Forms ------------------------------------------------------------------------ r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterCustomGrid + move of RegisterPropertyToSkip ------------------------------------------------------------------------ r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterXXX for Menus ------------------------------------------------------------------------ r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterXXX for PairSplitter ------------------------------------------------------------------------ r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterXXX for Spin ------------------------------------------------------------------------ r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line RegisterCustomRubberBand ------------------------------------------------------------------------ r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line remove 2 initialization sections ------------------------------------------------------------------------ r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line remove TPopupNotifier.png from LCL ------------------------------------------------------------------------ r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line cleanup ------------------------------------------------------------------------ r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line cleanup ------------------------------------------------------------------------ r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line Reduced Unit-Circles, by moving Register* into WS* units ------------------------------------------------------------------------ r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line Dummy file for gtk ------------------------------------------------------------------------ r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line Initial move of gtk1 register ------------------------------------------------------------------------ r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line Missing dependencies in gtk1 wsfactory ------------------------------------------------------------------------ r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line Declare register* in interface, to keep external linker happy ------------------------------------------------------------------------ r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line Declare register* in interface, to keep external linker happy ------------------------------------------------------------------------ r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line moved uses for factory ------------------------------------------------------------------------ r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line corrected a few accidental "Result := False" ------------------------------------------------------------------------ r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line removed unused units ------------------------------------------------------------------------ r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line qt: move RegisterWS calls to qtwsfactory ------------------------------------------------------------------------ r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line wince: move RegisterWS calls to WinCEWSFactory ------------------------------------------------------------------------ r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line moved GTK2 ------------------------------------------------------------------------ r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line moved GTK2 / missing units ------------------------------------------------------------------------ r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line Fixed one return value from register ------------------------------------------------------------------------ r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line Gtk2 , needs 2 registrations for WinControl ------------------------------------------------------------------------ r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line Gtk2 , needs 2nd registrations ------------------------------------------------------------------------ r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line cleanup ------------------------------------------------------------------------ r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line wince: forgotten file ------------------------------------------------------------------------ r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line carbon: move RegisterWSComponent to CarbonWSFactory ------------------------------------------------------------------------ r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line cleanup ------------------------------------------------------------------------ git-svn-id: trunk@19376 -
559 lines
14 KiB
ObjectPascal
559 lines
14 KiB
ObjectPascal
unit Win32WSFactory;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
uses
|
|
Classes, Controls, ComCtrls, ImgList, Calendar, StdCtrls, Arrow, Spin,
|
|
Dialogs, ExtCtrls, ExtDlgs, Buttons, CheckLst, Forms, Grids, Menus,
|
|
WSLCLClasses;
|
|
|
|
// imglist
|
|
function RegisterCustomImageList: Boolean;
|
|
// controls
|
|
function RegisterDragImageList: Boolean;
|
|
function RegisterControl: Boolean;
|
|
function RegisterWinControl: Boolean;
|
|
function RegisterGraphicControl: Boolean;
|
|
function RegisterCustomControl: Boolean;
|
|
// comctrls
|
|
function RegisterStatusBar: Boolean;
|
|
function RegisterTabSheet: Boolean;
|
|
function RegisterPageControl: Boolean;
|
|
function RegisterCustomListView: Boolean;
|
|
function RegisterCustomProgressBar: Boolean;
|
|
function RegisterCustomUpDown: Boolean;
|
|
function RegisterCustomToolButton: Boolean;
|
|
function RegisterToolBar: Boolean;
|
|
function RegisterCustomTrackBar: Boolean;
|
|
function RegisterCustomTreeView: Boolean;
|
|
// calendar
|
|
function RegisterCustomCalendar: Boolean;
|
|
// dialogs
|
|
function RegisterCommonDialog: Boolean;
|
|
function RegisterFileDialog: Boolean;
|
|
function RegisterOpenDialog: Boolean;
|
|
function RegisterSaveDialog: Boolean;
|
|
function RegisterSelectDirectoryDialog: Boolean;
|
|
function RegisterColorDialog: Boolean;
|
|
function RegisterColorButton: Boolean;
|
|
function RegisterFontDialog: Boolean;
|
|
// StdCtrls
|
|
function RegisterCustomScrollBar: Boolean;
|
|
function RegisterCustomGroupBox: Boolean;
|
|
function RegisterCustomComboBox: Boolean;
|
|
function RegisterCustomListBox: Boolean;
|
|
function RegisterCustomEdit: Boolean;
|
|
function RegisterCustomMemo: Boolean;
|
|
function RegisterButtonControl: Boolean;
|
|
function RegisterCustomButton: Boolean;
|
|
function RegisterCustomCheckBox: Boolean;
|
|
function RegisterToggleBox: Boolean;
|
|
function RegisterRadioButton: Boolean;
|
|
function RegisterCustomStaticText: Boolean;
|
|
function RegisterCustomLabel: Boolean;
|
|
// extctrls
|
|
function RegisterCustomPage: Boolean;
|
|
function RegisterCustomNotebook: Boolean;
|
|
function RegisterShape: Boolean;
|
|
function RegisterCustomSplitter: Boolean;
|
|
function RegisterPaintBox: Boolean;
|
|
function RegisterCustomImage: Boolean;
|
|
function RegisterBevel: Boolean;
|
|
function RegisterCustomRadioGroup: Boolean;
|
|
function RegisterCustomCheckGroup: Boolean;
|
|
function RegisterCustomLabeledEdit: Boolean;
|
|
function RegisterCustomPanel: Boolean;
|
|
function RegisterCustomTrayIcon: Boolean;
|
|
//ExtDlgs
|
|
function RegisterPreviewFileControl: Boolean;
|
|
function RegisterPreviewFileDialog: Boolean;
|
|
function RegisterOpenPictureDialog: Boolean;
|
|
function RegisterSavePictureDialog: Boolean;
|
|
function RegisterCalculatorDialog: Boolean;
|
|
function RegisterCalculatorForm: Boolean;
|
|
function RegisterCalendarDialog: Boolean;
|
|
// Buttons
|
|
function RegisterCustomBitBtn: Boolean;
|
|
function RegisterCustomSpeedButton: Boolean;
|
|
// Arrow
|
|
function RegisterArrow: Boolean;
|
|
// CheckLst
|
|
function RegisterCustomCheckListBox: Boolean;
|
|
// Forms
|
|
function RegisterScrollingWinControl: Boolean;
|
|
function RegisterScrollBox: Boolean;
|
|
function RegisterCustomFrame: Boolean;
|
|
function RegisterCustomForm: Boolean;
|
|
function RegisterHintWindow: Boolean;
|
|
function RegisterCustomGrid: Boolean;
|
|
function RegisterMenuItem: Boolean;
|
|
function RegisterMenu: Boolean;
|
|
function RegisterMainMenu: Boolean;
|
|
function RegisterPopupMenu: Boolean;
|
|
function RegisterPairSplitterSide: Boolean;
|
|
function RegisterCustomPairSplitter: Boolean;
|
|
function RegisterCustomFloatSpinEdit: Boolean;
|
|
function RegisterCustomRubberBand: Boolean;
|
|
|
|
implementation
|
|
uses
|
|
Win32WSArrow,
|
|
Win32WSButtons,
|
|
Win32WSCalendar,
|
|
Win32WSCheckLst,
|
|
Win32WSComCtrls,
|
|
Win32WSControls,
|
|
Win32WSDialogs,
|
|
Win32WSExtCtrls,
|
|
Win32WSExtDlgs,
|
|
Win32WSForms,
|
|
Win32WSGrids,
|
|
Win32WSImgList,
|
|
Win32WSMenus,
|
|
Win32WSSpin,
|
|
Win32WSStdCtrls;
|
|
|
|
// imglist
|
|
function RegisterCustomImageList: Boolean; alias : 'WSRegisterCustomImageList';
|
|
begin
|
|
RegisterWSComponent(TCustomImageList, TWin32WSCustomImageList);
|
|
Result := True;
|
|
end;
|
|
|
|
// controls
|
|
function RegisterDragImageList: Boolean; alias : 'WSRegisterDragImageList';
|
|
begin
|
|
RegisterWSComponent(TDragImageList, TWin32WSDragImageList);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterControl: Boolean; alias : 'WSRegisterControl';
|
|
begin
|
|
RegisterWSComponent(TControl, TWin32WSControl);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterWinControl: Boolean; alias : 'WSRegisterWinControl';
|
|
begin
|
|
RegisterWSComponent(TWinControl, TWin32WSWinControl);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterGraphicControl: Boolean; alias : 'WSRegisterGraphicControl';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomControl: Boolean; alias : 'WSRegisterCustomControl';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
// comctrls
|
|
function RegisterStatusBar: Boolean; alias : 'WSRegisterStatusBar';
|
|
begin
|
|
RegisterWSComponent(TStatusBar, TWin32WSStatusBar);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterTabSheet: Boolean; alias : 'WSRegisterTabSheet';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterPageControl: Boolean; alias : 'WSRegisterPageControl';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomListView: Boolean; alias : 'WSRegisterCustomListView';
|
|
begin
|
|
RegisterWSComponent(TCustomListView, TWin32WSCustomListView);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomProgressBar: Boolean; alias : 'WSRegisterCustomProgressBar';
|
|
begin
|
|
RegisterWSComponent(TCustomProgressBar, TWin32WSProgressBar);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomUpDown: Boolean; alias : 'WSRegisterCustomUpDown';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomToolButton: Boolean; alias : 'WSRegisterCustomToolButton';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterToolBar: Boolean; alias : 'WSRegisterToolBar';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomTrackBar: Boolean; alias : 'WSRegisterCustomTrackBar';
|
|
begin
|
|
RegisterWSComponent(TCustomTrackBar, TWin32WSTrackBar);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomTreeView: Boolean; alias : 'WSRegisterCustomTreeView';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
// calendar
|
|
function RegisterCustomCalendar: Boolean; alias : 'WSRegisterCustomCalendar';
|
|
begin
|
|
RegisterWSComponent(TCustomCalendar, TWin32WSCustomCalendar);
|
|
Result := True;
|
|
end;
|
|
|
|
// dialogs
|
|
function RegisterCommonDialog: Boolean; alias : 'WSRegisterCommonDialog';
|
|
begin
|
|
RegisterWSComponent(TCommonDialog, TWin32WSCommonDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterFileDialog: Boolean; alias : 'WSRegisterFileDialog';
|
|
begin
|
|
// RegisterWSComponent(TFileDialog, TWin32WSFileDialog);
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterOpenDialog: Boolean; alias : 'WSRegisterOpenDialog';
|
|
begin
|
|
RegisterWSComponent(TOpenDialog, TWin32WSOpenDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterSaveDialog: Boolean; alias : 'WSRegisterSaveDialog';
|
|
begin
|
|
RegisterWSComponent(TSaveDialog, TWin32WSSaveDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterSelectDirectoryDialog: Boolean; alias : 'WSRegisterSelectDirectoryDialog';
|
|
begin
|
|
RegisterWSComponent(TSelectDirectoryDialog, TWin32WSSelectDirectoryDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterColorDialog: Boolean; alias : 'WSRegisterColorDialog';
|
|
begin
|
|
RegisterWSComponent(TColorDialog, TWin32WSColorDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterColorButton: Boolean; alias : 'WSRegisterColorButton';
|
|
begin
|
|
// RegisterWSComponent(TColorButton, TWin32WSColorButton);
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterFontDialog: Boolean; alias : 'WSRegisterFontDialog';
|
|
begin
|
|
RegisterWSComponent(TFontDialog, TWin32WSFontDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
// StdCtrls
|
|
function RegisterCustomScrollBar: Boolean; alias : 'WSRegisterCustomScrollBar';
|
|
begin
|
|
RegisterWSComponent(TCustomScrollBar, TWin32WSScrollBar);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomGroupBox: Boolean; alias : 'WSRegisterCustomGroupBox';
|
|
begin
|
|
RegisterWSComponent(TCustomGroupBox, TWin32WSCustomGroupBox);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomComboBox: Boolean; alias : 'WSRegisterCustomComboBox';
|
|
begin
|
|
RegisterWSComponent(TCustomComboBox, TWin32WSCustomComboBox);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomListBox: Boolean; alias : 'WSRegisterCustomListBox';
|
|
begin
|
|
RegisterWSComponent(TCustomListBox, TWin32WSCustomListBox);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomEdit: Boolean; alias : 'WSRegisterCustomEdit';
|
|
begin
|
|
RegisterWSComponent(TCustomEdit, TWin32WSCustomEdit);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomMemo: Boolean; alias : 'WSRegisterCustomMemo';
|
|
begin
|
|
RegisterWSComponent(TCustomMemo, TWin32WSCustomMemo);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterButtonControl: Boolean; alias : 'WSRegisterButtonControl';
|
|
begin
|
|
RegisterWSComponent(TButtonControl, TWin32WSButtonControl);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomButton: Boolean; alias : 'WSRegisterCustomButton';
|
|
begin
|
|
RegisterWSComponent(TCustomButton, TWin32WSButton);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomCheckBox: Boolean; alias : 'WSRegisterCustomCheckBox';
|
|
begin
|
|
RegisterWSComponent(TCustomCheckBox, TWin32WSCustomCheckBox);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterToggleBox: Boolean; alias : 'WSRegisterToggleBox';
|
|
begin
|
|
RegisterWSComponent(TToggleBox, TWin32WSToggleBox);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterRadioButton: Boolean; alias : 'WSRegisterRadioButton';
|
|
begin
|
|
RegisterWSComponent(TRadioButton, TWin32WSRadioButton);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomStaticText: Boolean; alias : 'WSRegisterCustomStaticText';
|
|
begin
|
|
RegisterWSComponent(TCustomStaticText, TWin32WSCustomStaticText);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomLabel: Boolean; alias : 'WSRegisterCustomLabel';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
// extctrls
|
|
function RegisterCustomPage: Boolean; alias : 'WSRegisterCustomPage';
|
|
begin
|
|
RegisterWSComponent(TCustomPage, TWin32WSCustomPage);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomNotebook: Boolean; alias : 'WSRegisterCustomNotebook';
|
|
begin
|
|
RegisterWSComponent(TCustomNotebook, TWin32WSCustomNotebook);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterShape: Boolean; alias : 'WSRegisterShape';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomSplitter: Boolean; alias : 'WSRegisterCustomSplitter';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterPaintBox: Boolean; alias : 'WSRegisterPaintBox';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomImage: Boolean; alias : 'WSRegisterCustomImage';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterBevel: Boolean; alias : 'WSRegisterBevel';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomRadioGroup: Boolean; alias : 'WSRegisterCustomRadioGroup';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomCheckGroup: Boolean; alias : 'WSRegisterCustomCheckGroup';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomLabeledEdit: Boolean; alias : 'WSRegisterCustomLabeledEdit';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomPanel: Boolean; alias : 'WSRegisterCustomPanel';
|
|
begin
|
|
RegisterWSComponent(TCustomPanel, TWin32WSCustomPanel);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomTrayIcon: Boolean; alias : 'WSRegisterCustomTrayIcon';
|
|
begin
|
|
RegisterWSComponent(TCustomTrayIcon, TWin32WSCustomTrayIcon);
|
|
Result := True;
|
|
end;
|
|
|
|
//ExtDlgs
|
|
function RegisterPreviewFileControl: Boolean; alias : 'WSRegisterPreviewFileControl';
|
|
begin
|
|
RegisterWSComponent(TPreviewFileControl, TWin32WSPreviewFileControl);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterPreviewFileDialog: Boolean; alias : 'WSRegisterPreviewFileDialog';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterOpenPictureDialog: Boolean; alias : 'WSRegisterOpenPictureDialog';
|
|
begin
|
|
RegisterWSComponent(TOpenPictureDialog, TWin32WSOpenPictureDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterSavePictureDialog: Boolean; alias : 'WSRegisterSavePictureDialog';
|
|
begin
|
|
RegisterWSComponent(TSavePictureDialog, TWin32WSSaveDialog);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCalculatorDialog: Boolean; alias : 'WSRegisterCalculatorDialog';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCalculatorForm: Boolean; alias : 'WSRegisterCalculatorForm';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
(*function RegisterCalendarDialogForm: Boolean; alias : 'WSRegisterCalendarDialogForm';
|
|
begin
|
|
// RegisterWSComponent(TCalendarDialogForm, TWin32WSCalendarDialogForm);
|
|
Result := False;
|
|
end;*)
|
|
|
|
function RegisterCalendarDialog: Boolean; alias : 'WSRegisterCalendarDialog';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
// Buttons
|
|
function RegisterCustomBitBtn: Boolean; alias : 'WSRegisterCustomBitBtn';
|
|
begin
|
|
RegisterWSComponent(TCustomBitBtn, TWin32WSBitBtn);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomSpeedButton: Boolean; alias : 'WSRegisterCustomSpeedButton';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
// Arrow
|
|
function RegisterArrow: Boolean; alias : 'WSRegisterArrow';
|
|
begin
|
|
RegisterWSComponent(TArrow, TWin32WSArrow);
|
|
Result := True;
|
|
end;
|
|
|
|
// CheckLst
|
|
function RegisterCustomCheckListBox: Boolean; alias : 'WSRegisterCustomCheckListBox';
|
|
begin
|
|
RegisterWSComponent(TCustomCheckListBox, TWin32WSCustomCheckListBox);
|
|
Result := True;
|
|
end;
|
|
|
|
// Forms
|
|
function RegisterScrollingWinControl: Boolean; alias : 'WSRegisterScrollingWinControl';
|
|
begin
|
|
RegisterWSComponent(TScrollingWinControl, TWin32WSScrollingWinControl);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterScrollBox: Boolean; alias : 'WSRegisterScrollBox';
|
|
begin
|
|
RegisterWSComponent(TScrollBox, TWin32WSScrollBox);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomFrame: Boolean; alias : 'WSRegisterCustomFrame';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomForm: Boolean; alias : 'WSRegisterCustomForm';
|
|
begin
|
|
RegisterWSComponent(TCustomForm, TWin32WSCustomForm);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterHintWindow: Boolean; alias : 'WSRegisterHintWindow';
|
|
begin
|
|
RegisterWSComponent(THintWindow, TWin32WSHintWindow);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomGrid: Boolean; alias : 'WSRegisterCustomGrid';
|
|
begin
|
|
RegisterWSComponent(TCustomGrid, TWin32WSCustomGrid);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterMenuItem: Boolean; alias : 'WSRegisterMenuItem';
|
|
begin
|
|
RegisterWSComponent(TMenuItem, TWin32WSMenuItem);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterMenu: Boolean; alias : 'WSRegisterMenu';
|
|
begin
|
|
RegisterWSComponent(TMenu, TWin32WSMenu);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterMainMenu: Boolean; alias : 'WSRegisterMainMenu';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterPopupMenu: Boolean; alias : 'WSRegisterPopupMenu';
|
|
begin
|
|
RegisterWSComponent(TPopupMenu, TWin32WSPopupMenu);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterPairSplitterSide: Boolean; alias : 'WSRegisterPairSplitterSide';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomPairSplitter: Boolean; alias : 'WSRegisterCustomPairSplitter';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
function RegisterCustomFloatSpinEdit: Boolean; alias : 'WSRegisterCustomFloatSpinEdit';
|
|
begin
|
|
RegisterWSComponent(TCustomFloatSpinEdit, TWin32WSCustomFloatSpinEdit);
|
|
Result := True;
|
|
end;
|
|
|
|
function RegisterCustomRubberBand: Boolean; alias : 'WSRegisterCustomRubberBand';
|
|
begin
|
|
Result := False;
|
|
end;
|
|
|
|
end.
|