1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
#if !defined(AFX_BTNENH_H__56F13D02_8CDD_42E1_9A73_46B206613CA4__INCLUDED_)
#define AFX_BTNENH_H__56F13D02_8CDD_42E1_9A73_46B206613CA4__INCLUDED_
 
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
 
// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.
 
 
// Dispatch interfaces referenced by this interface
class COleFont;
class CSurfaceColor;
class CTextDescriptor;
class CTexture;
class CCellsManager;
 
/////////////////////////////////////////////////////////////////////////////
// CBtnEnh wrapper class
 
class CBtnEnh : public CWnd
{
protected:
    DECLARE_DYNCREATE(CBtnEnh)
public:
    CLSID const& GetClsid()
    {
        static CLSID const clsid
            = { 0x40b5ce81, 0xc5a8, 0x11d2, { 0x81, 0x83, 0x0, 0x0, 0x24, 0x40, 0xdf, 0xd8 } };
        return clsid;
    }
    virtual BOOL Create(LPCTSTR lpszClassName,
        LPCTSTR lpszWindowName, DWORD dwStyle,
        const RECT& rect,
        CWnd* pParentWnd, UINT nID,
        CCreateContext* pContext = NULL)
    { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
 
    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
        const RECT& rect, CWnd* pParentWnd, UINT nID,
        CFile* pPersist = NULL, BOOL bStorage = FALSE,
        BSTR bstrLicKey = NULL)
    { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
        pPersist, bStorage, bstrLicKey); }
 
// Attributes
public:
    CString GetCaption();
    void SetCaption(LPCTSTR);
    long GetShape();
    void SetShape(long);
    short GetRoundness();
    void SetRoundness(short);
    long GetSlant();
    void SetSlant(long);
    long GetSurface();
    void SetSurface(long);
    unsigned long GetPictureTranspColor();
    void SetPictureTranspColor(unsigned long);
    CString GetSoundDown();
    void SetSoundDown(LPCTSTR);
    CString GetSoundUp();
    void SetSoundUp(LPCTSTR);
    CString GetCursor();
    void SetCursor(LPCTSTR);
    CString GetSoundMouseOver();
    void SetSoundMouseOver(LPCTSTR);
    CString GetSoundMouseOut();
    void SetSoundMouseOut(LPCTSTR);
    COleFont GetFontTextLT();
    void SetFontTextLT(LPDISPATCH);
    COleFont GetFontTextCT();
    void SetFontTextCT(LPDISPATCH);
    COleFont GetFontTextRT();
    void SetFontTextRT(LPDISPATCH);
    COleFont GetFontTextLM();
    void SetFontTextLM(LPDISPATCH);
    COleFont GetFontTextRM();
    void SetFontTextRM(LPDISPATCH);
    COleFont GetFontTextLB();
    void SetFontTextLB(LPDISPATCH);
    COleFont GetFontTextCB();
    void SetFontTextCB(LPDISPATCH);
    COleFont GetFontTextRB();
    void SetFontTextRB(LPDISPATCH);
    CString GetPicture();
    void SetPicture(LPCTSTR);
    CString GetPicturePressed();
    void SetPicturePressed(LPCTSTR);
    CString GetPictureMouseOver();
    void SetPictureMouseOver(LPCTSTR);
    CString GetPictureCustom();
    void SetPictureCustom(LPCTSTR);
    long GetPicturePosition();
    void SetPicturePosition(long);
    short GetPictureXOffset();
    void SetPictureXOffset(short);
    short GetPictureYOffset();
    void SetPictureYOffset(short);
    BOOL GetEnabled();
    void SetEnabled(BOOL);
    long GetPictureTranspMode();
    void SetPictureTranspMode(long);
    BOOL GetButtonCustomRaised();
    void SetButtonCustomRaised(BOOL);
    unsigned long GetBackColorContainer();
    void SetBackColorContainer(unsigned long);
    BOOL GetMovePictureOnPress();
    void SetMovePictureOnPress(BOOL);
    short GetButtonRaiseFactor();
    void SetButtonRaiseFactor(short);
    unsigned long GetHighlightColor();
    void SetHighlightColor(unsigned long);
    unsigned long GetShadowColor();
    void SetShadowColor(unsigned long);
    BOOL GetButtonCustomFitPicture();
    void SetButtonCustomFitPicture(BOOL);
    OLE_HANDLE GetHWnd();
    void SetHWnd(OLE_HANDLE);
    COleFont GetFontTextCaption();
    void SetFontTextCaption(LPDISPATCH);
    CString GetHyperlink();
    void SetHyperlink(LPCTSTR);
    BOOL GetEnableInternetLoadAtDT();
    void SetEnableInternetLoadAtDT(BOOL);
    long GetSmoothEdges();
    void SetSmoothEdges(long);
    CString GetTagEx();
    void SetTagEx(LPCTSTR);
    BOOL GetPictureKeepRatio();
    void SetPictureKeepRatio(BOOL);
    long GetFocusMode();
    void SetFocusMode(long);
    long GetSpecialEffect();
    void SetSpecialEffect(long);
    short GetCaptionWordWrapPerc();
    void SetCaptionWordWrapPerc(short);
    short GetOptimization();
    void SetOptimization(short);
    BOOL GetClickable();
    void SetClickable(BOOL);
    unsigned long GetBackColor();
    void SetBackColor(unsigned long);
    unsigned long GetForeColor();
    void SetForeColor(unsigned long);
    BOOL GetIgnoreSpaceBar();
    void SetIgnoreSpaceBar(BOOL);
    long GetSpecialEffectFactor();
    void SetSpecialEffectFactor(long);
    CString GetTexture();
    void SetTexture(LPCTSTR);
    short GetTextureMode();
    void SetTextureMode(short);
    short GetTextureLightIntensity();
    void SetTextureLightIntensity(short);
    unsigned long GetTextureColorMix();
    void SetTextureColorMix(unsigned long);
    short GetTextureColorMixPerc();
    void SetTextureColorMixPerc(short);
    short GetTextureBevelFactor();
    void SetTextureBevelFactor(short);
    unsigned long GetForeColorDisabled();
    void SetForeColorDisabled(unsigned long);
    unsigned long GetBackColorDisabled();
    void SetBackColorDisabled(unsigned long);
    unsigned long GetBackColorMouseOver();
    void SetBackColorMouseOver(unsigned long);
    unsigned long GetBackColorFocus();
    void SetBackColorFocus(unsigned long);
    unsigned long GetBackColorInterior();
    void SetBackColorInterior(unsigned long);
    unsigned long GetForeColorMouseOver();
    void SetForeColorMouseOver(unsigned long);
    long GetFlatPillowFactor();
    void SetFlatPillowFactor(long);
    long GetShadowMode();
    void SetShadowMode(long);
    long GetStyle();
    void SetStyle(long);
    CString GetPictureDisabled();
    void SetPictureDisabled(LPCTSTR);
    unsigned long GetForeColorPressed();
    void SetForeColorPressed(unsigned long);
    unsigned long GetBackColorPressed();
    void SetBackColorPressed(unsigned long);
    short GetValue();
    void SetValue(short);
    long GetOrientation();
    void SetOrientation(long);
    CSurfaceColor GetColorSurfaceNormal();
    void SetColorSurfaceNormal(LPDISPATCH);
    CSurfaceColor GetColorSurfaceMO();
    void SetColorSurfaceMO(LPDISPATCH);
    CSurfaceColor GetColorSurfaceInternal();
    void SetColorSurfaceInternal(LPDISPATCH);
    CSurfaceColor GetColorSurfaceFocus();
    void SetColorSurfaceFocus(LPDISPATCH);
    CSurfaceColor GetColorSurfaceDisabled();
    void SetColorSurfaceDisabled(LPDISPATCH);
    CSurfaceColor GetColorSurfacePressed();
    void SetColorSurfacePressed(LPDISPATCH);
    CTextDescriptor GetTextDescrCaption();
    void SetTextDescrCaption(LPDISPATCH);
    CTextDescriptor GetTextDescrLT();
    void SetTextDescrLT(LPDISPATCH);
    CTextDescriptor GetTextDescrCT();
    void SetTextDescrCT(LPDISPATCH);
    CTextDescriptor GetTextDescrRT();
    void SetTextDescrRT(LPDISPATCH);
    CTextDescriptor GetTextDescrLM();
    void SetTextDescrLM(LPDISPATCH);
    CTextDescriptor GetTextDescrRM();
    void SetTextDescrRM(LPDISPATCH);
    CTextDescriptor GetTextDescrLB();
    void SetTextDescrLB(LPDISPATCH);
    CTextDescriptor GetTextDescrCB();
    void SetTextDescrCB(LPDISPATCH);
    CTextDescriptor GetTextDescrRB();
    void SetTextDescrRB(LPDISPATCH);
    CTexture GetTextureSurface();
    void SetTextureSurface(LPDISPATCH);
    long GetFrameEffect();
    void SetFrameEffect(long);
    BOOL GetOptionGroupDelimiter();
    void SetOptionGroupDelimiter(BOOL);
    BOOL GetPictureVisible();
    void SetPictureVisible(BOOL);
    long GetTextCaptionAlignment();
    void SetTextCaptionAlignment(long);
    short GetSpotlightOffsetX();
    void SetSpotlightOffsetX(short);
    short GetSpotlightOffsetY();
    void SetSpotlightOffsetY(short);
    short GetSpotlightResizeWidth();
    void SetSpotlightResizeWidth(short);
    short GetSpotlightResizeHeight();
    void SetSpotlightResizeHeight(short);
    short GetCornerFactor();
    void SetCornerFactor(short);
    BOOL GetUseAntialias();
    void SetUseAntialias(BOOL);
    CCellsManager GetCellsManager();
    void SetCellsManager(LPDISPATCH);
    BOOL GetHollowFrame();
    void SetHollowFrame(BOOL);
    long GetLightDirection();
    void SetLightDirection(long);
    BOOL GetSpotlightVisible();
    void SetSpotlightVisible(BOOL);
    unsigned long GetSpotlightColor();
    void SetSpotlightColor(unsigned long);
    short GetPictureTranspFactor();
    void SetPictureTranspFactor(short);
    short GetShapeHeadFactor();
    void SetShapeHeadFactor(short);
    short GetShapeLineFactor();
    void SetShapeLineFactor(short);
    short GetSurfaceTransparentFactor();
    void SetSurfaceTransparentFactor(short);
    BOOL GetRectHardEdges();
    void SetRectHardEdges(BOOL);
    BOOL GetSwapEffectsColors();
    void SetSwapEffectsColors(BOOL);
    long GetSurfaceTransparentZone();
    void SetSurfaceTransparentZone(long);
    unsigned long GetVistaColorGlossyEffectUpper();
    void SetVistaColorGlossyEffectUpper(unsigned long);
    short GetVistaOpacityGlossyEffectUpper();
    void SetVistaOpacityGlossyEffectUpper(short);
    unsigned long GetVistaColorGlossyEffectLower();
    void SetVistaColorGlossyEffectLower(unsigned long);
    short GetVistaOpacityGlossyEffectLower();
    void SetVistaOpacityGlossyEffectLower(short);
    unsigned long GetVistaColorOuterBorder();
    void SetVistaColorOuterBorder(unsigned long);
    unsigned long GetVistaColorInnerBorder();
    void SetVistaColorInnerBorder(unsigned long);
    unsigned long GetVistaColorInnerBorderPressed();
    void SetVistaColorInnerBorderPressed(unsigned long);
    unsigned long GetVistaColorMiddleBorder();
    void SetVistaColorMiddleBorder(unsigned long);
    unsigned long GetVistaColorGlossyEmphUpper();
    void SetVistaColorGlossyEmphUpper(unsigned long);
    short GetVistaOpacityGlossyEmphUpper();
    void SetVistaOpacityGlossyEmphUpper(short);
    unsigned long GetVistaColorGlossyEmphLower();
    void SetVistaColorGlossyEmphLower(unsigned long);
    short GetVistaOpacityGlossyEmphLower();
    void SetVistaOpacityGlossyEmphLower(short);
    unsigned long GetVistaColorGlossyEmphUpperPressed();
    void SetVistaColorGlossyEmphUpperPressed(unsigned long);
    short GetVistaOpacityGlossyEmphUpperPressed();
    void SetVistaOpacityGlossyEmphUpperPressed(short);
    unsigned long GetVistaColorGlossyEmphLowerPressed();
    void SetVistaColorGlossyEmphLowerPressed(unsigned long);
    short GetVistaOpacityGlossyEmphLowerPressed();
    void SetVistaOpacityGlossyEmphLowerPressed(short);
    unsigned long GetVistaColorGlowBack();
    void SetVistaColorGlowBack(unsigned long);
    unsigned long GetVistaColorGlow();
    void SetVistaColorGlow(unsigned long);
    unsigned long GetVistaColorGlowChecked();
    void SetVistaColorGlowChecked(unsigned long);
    unsigned long GetVistaColorGlowCheckedMouseOver();
    void SetVistaColorGlowCheckedMouseOver(unsigned long);
    unsigned long GetVistaColorBackgroundChecked();
    void SetVistaColorBackgroundChecked(unsigned long);
    unsigned long GetVistaColorBackgroundCheckedMouseOver();
    void SetVistaColorBackgroundCheckedMouseOver(unsigned long);
    long GetVistaLook();
    void SetVistaLook(long);
    long GetVistaGlossyShape();
    void SetVistaGlossyShape(long);
    short GetVistaGlossySmoothFactor();
    void SetVistaGlossySmoothFactor(short);
    long GetSpotlightType();
    void SetSpotlightType(long);
    BOOL GetPictureReflectivityEnabled();
    void SetPictureReflectivityEnabled(BOOL);
    short GetPictureReflectivityPerc();
    void SetPictureReflectivityPerc(short);
    short GetPictureReflectHeightPerc();
    void SetPictureReflectHeightPerc(short);
    long GetProgressBarType();
    void SetProgressBarType(long);
    long GetProgressBarMin();
    void SetProgressBarMin(long);
    long GetProgressBarMax();
    void SetProgressBarMax(long);
    long GetProgressBarValue();
    void SetProgressBarValue(long);
    unsigned long GetProgressBarColor();
    void SetProgressBarColor(unsigned long);
    long GetProgressBarFillMode();
    void SetProgressBarFillMode(long);
    unsigned long GetVistaColorGlowBottom();
    void SetVistaColorGlowBottom(unsigned long);
    unsigned long GetOffice2007ColorInnerBorder();
    void SetOffice2007ColorInnerBorder(unsigned long);
    unsigned long GetOffice2007ColorOuterBorder();
    void SetOffice2007ColorOuterBorder(unsigned long);
    unsigned long GetOffice2007ColorNorthTop();
    void SetOffice2007ColorNorthTop(unsigned long);
    unsigned long GetOffice2007ColorNorthBottom();
    void SetOffice2007ColorNorthBottom(unsigned long);
    unsigned long GetOffice2007ColorSouthTop();
    void SetOffice2007ColorSouthTop(unsigned long);
    unsigned long GetOffice2007ColorSouthBottom();
    void SetOffice2007ColorSouthBottom(unsigned long);
    unsigned long GetOffice2007ColorInnerBorderMouseOver();
    void SetOffice2007ColorInnerBorderMouseOver(unsigned long);
    unsigned long GetOffice2007ColorOuterBorderMouseOver();
    void SetOffice2007ColorOuterBorderMouseOver(unsigned long);
    unsigned long GetOffice2007ColorNorthTopMouseOver();
    void SetOffice2007ColorNorthTopMouseOver(unsigned long);
    unsigned long GetOffice2007ColorNorthBottomMouseOver();
    void SetOffice2007ColorNorthBottomMouseOver(unsigned long);
    unsigned long GetOffice2007ColorSouthTopMouseOver();
    void SetOffice2007ColorSouthTopMouseOver(unsigned long);
    unsigned long GetOffice2007ColorSouthBottomMouseOver();
    void SetOffice2007ColorSouthBottomMouseOver(unsigned long);
    unsigned long GetOffice2007ColorInnerBorderPressed();
    void SetOffice2007ColorInnerBorderPressed(unsigned long);
    unsigned long GetOffice2007ColorOuterBorderPressed();
    void SetOffice2007ColorOuterBorderPressed(unsigned long);
    unsigned long GetOffice2007ColorNorthTopPressed();
    void SetOffice2007ColorNorthTopPressed(unsigned long);
    unsigned long GetOffice2007ColorNorthBottomPressed();
    void SetOffice2007ColorNorthBottomPressed(unsigned long);
    unsigned long GetOffice2007ColorSouthTopPressed();
    void SetOffice2007ColorSouthTopPressed(unsigned long);
    unsigned long GetOffice2007ColorSouthBottomPressed();
    void SetOffice2007ColorSouthBottomPressed(unsigned long);
    unsigned long GetOffice2003ColorNorth();
    void SetOffice2003ColorNorth(unsigned long);
    unsigned long GetOffice2003ColorSouth();
    void SetOffice2003ColorSouth(unsigned long);
    unsigned long GetOffice2003ColorBorder();
    void SetOffice2003ColorBorder(unsigned long);
    unsigned long GetOffice2003ColorNorthMouseOver();
    void SetOffice2003ColorNorthMouseOver(unsigned long);
    unsigned long GetOffice2003ColorSouthMouseOver();
    void SetOffice2003ColorSouthMouseOver(unsigned long);
    unsigned long GetOffice2003ColorBorderMouseOver();
    void SetOffice2003ColorBorderMouseOver(unsigned long);
    unsigned long GetOffice2003ColorNorthPressed();
    void SetOffice2003ColorNorthPressed(unsigned long);
    unsigned long GetOffice2003ColorSouthPressed();
    void SetOffice2003ColorSouthPressed(unsigned long);
    unsigned long GetOffice2003ColorBorderPressed();
    void SetOffice2003ColorBorderPressed(unsigned long);
    BOOL GetToolTipEnabled();
    void SetToolTipEnabled(BOOL);
    CString GetToolTipTextNormal();
    void SetToolTipTextNormal(LPCTSTR);
    CString GetToolTipTextChecked();
    void SetToolTipTextChecked(LPCTSTR);
    short GetVistaOuterBorderWidth();
    void SetVistaOuterBorderWidth(short);
    short GetVistaMiddleBorderWidth();
    void SetVistaMiddleBorderWidth(short);
    short GetVistaInnerBorderWidth();
    void SetVistaInnerBorderWidth(short);
    short GetOffice2007OuterBorderWidth();
    void SetOffice2007OuterBorderWidth(short);
    short GetOffice2007InnerBorderWidth();
    void SetOffice2007InnerBorderWidth(short);
    short GetOffice2003BorderWidth();
    void SetOffice2003BorderWidth(short);
    CString GetSplitButtonPicture();
    void SetSplitButtonPicture(LPCTSTR);
    long GetSplitButtonType();
    void SetSplitButtonType(long);
    short GetSplitButtonArrowOffsetX();
    void SetSplitButtonArrowOffsetX(short);
    short GetSplitButtonArrowOffsetY();
    void SetSplitButtonArrowOffsetY(short);
    unsigned long GetSplitButtonArrowColor();
    void SetSplitButtonArrowColor(unsigned long);
    unsigned long GetSplitButtonHighlightColor();
    void SetSplitButtonHighlightColor(unsigned long);
    unsigned long GetSplitButtonShadowColor();
    void SetSplitButtonShadowColor(unsigned long);
    short GetSplitButtonSizePerc();
    void SetSplitButtonSizePerc(short);
 
// Operations
public:
    void SetAuxText(short position, LPCTSTR Text, unsigned long Color, unsigned long ColorMouseOver, short xOffset, short yOffset, short iEffect, short nFactor);
    LPUNKNOWN GetControlPtr();
    void EnableSound(short nSound, BOOL bEnable);
    void DoClick();
    void Refresh();
    void SetNSContainerColor(unsigned long Color);
    CString GetAuxText(short position, unsigned long* pcolor, unsigned long* pcolorMouseOver, short* pxOffset, short* pyOffset, short* piEffect, short* pnFactor);
    long SetPictureFromHandle(long index, long hBmp);
    long SetPictureFromMemory(long index, const VARIANT& pData, long sizeData);
    long SetAnimFromMemory(long index, const VARIANT& pData, long sizeData);
    long SetCursorFromHandle(long hCursor);
    long SetSoundFromMemory(long index, const VARIANT& pData, long sizeData);
    void SetAutomaticRefresh(BOOL bAutoRefresh);
    void SetSoundSync(long sound, BOOL flag);
    void EnableAcceleratorForVB();
    void SetTextVisible(short nText, BOOL bVisible);
    void SetCaptionText(LPCTSTR Text, unsigned long Color, unsigned long ColorMouseOver, short xOffset, short yOffset, short iEffect, short nFactor, short nAngle);
    CString GetCaptionText(unsigned long* pcolor, unsigned long* pcolorMouseOver, short* pxOffset, short* pyOffset, short* piEffect, short* pnFactor, short* pnAngle);
    long SetPictureFromNet(long index, LPCTSTR strAddress, LPCTSTR strUsername, LPCTSTR strPassword);
    long SetSoundFromNet(long index, LPCTSTR strAddress, LPCTSTR strUsername, LPCTSTR strPassword);
    BOOL SetAnimFromNet(long index, LPCTSTR strAddress, LPCTSTR strUsername, LPCTSTR strPassword);
    void SetSurfaceColor(short nElement, unsigned long Color, short nGradientFactor, short nRender3D);
    void MouseCapture(BOOL bCapture);
    void GetSurfaceColor(short nElement, unsigned long* pcolor, short* pnGradientFactor, short* pnRender3D);
    void InternalRefresh();
    void SetAuxTextString(short position, LPCTSTR Text);
    BOOL ExportBtnImage(long nImage, LPCTSTR strFilename, long nFormat);
    void EditProperties(unsigned long colorText, unsigned long colorBack, long x, long y);
    short LoadTemplate(LPCTSTR strFilename);
    short SaveTemplate(LPCTSTR strFilename);
    short LoadTemplateEx(LPCTSTR strFilename);
    short SaveTemplateEx(LPCTSTR strFilename);
    void SetHelpLink(short nPage, LPCTSTR strLink);
    void ShowEditingButtons(short lFlags, short bShow);
    void SetTextOnPos(short position, LPCTSTR strText);
    CString GetTextOnPos(short position);
    void SetTextSettingOnPos(short position, long pdesc, short nFlag);
    void GetTextSettingOnPos(short position, long pdesc);
    void SetSurfaceColorDesc(short nElement, long pdesc);
    void GetSurfaceColorDesc(short nElement, long pdesc);
    void SetEditingTplMode(short nMode);
    void SetTemplateBinDir(long nType, LPCTSTR strDirPath);
    CString GetHelperString(short dispid, short nValue);
    void ResetProperties();
    long GetBackPicture(long hWndDest);
    void SetBackPicture(long hBitmap);
    short AnimGetFramesRate();
    long AnimSetFramesRate(short nRate);
    short AnimGetFramesCount();
    long AnimShowFrame(short nFrame);
    long AnimPause();
    long AnimResume();
    long AnimInvertPlay();
    void SetBackPictureVisible(BOOL bVisible);
    void ClearButtonCache();
    short GetValueEx();
    void SetValueEx(short nValue);
    short LoadTplExInternal(LPCTSTR strFilename, long cxMax, long cyMax, long* pcxOrig, long* pcyOrig);
    short SaveTplExInternal(LPCTSTR strFilename, long cx, long cy);
    short CellCreate(short left, short top, short width, short height);
    short CellGetCount();
    long CellDelete(short nIndex);
    long CellShow(short nIndex, BOOL bShow);
    long CellMove(short nIndex, short left, short top);
    long CellResize(short nIndex, short width, short height);
    long CellSetText(short nIndex, LPCTSTR strText);
    CTextDescriptor CellGetTextDescriptor(short nIndex);
    long CellSetTextFont(short nIndex, LPCTSTR strFacename, short nHeight, BOOL bBold, BOOL bItalic, BOOL bUnder, BOOL bStrike);
    long CellSetTextWordWrap(short nIndex, BOOL bWordWrap);
    long CellSetTextHorzAlign(short nIndex, long nAlign);
    long CellSetTextVertAlign(short nIndex, long nAlign);
    long CellSetPicture(short nIndex, LPCTSTR strFilename);
    long CellSetPictureDisabled(short nIndex, LPCTSTR strFilename);
    long CellSetPictureHorzAlign(short nIndex, long nAlign);
    long CellSetPictureVertAlign(short nIndex, long nAlign);
    long CellSetPictureStatic(short nIndex, BOOL bStatic);
    long CellSetTestMode(short nIndex, BOOL bTestMode);
    long GetButtonCacheSize();
    short GetHelperStringsNum(short dispid);
    short LoadCellsInternal(LPCTSTR strFilename);
    short SaveCellsInternal(LPCTSTR strFilename);
    CString GetVersion();
    CString GetEdition();
    void SetTotalTransparentFactor(short nNewValue);
    void RefreshTransparentControl();
    void EnableButtonCache(BOOL bEnable);
    void SetCustomPaintFunction(long pFunction);
    void SetClipChildren(BOOL bSet);
    long GetControlBitmap(long nImage);
    void AboutBox();
};
 
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
#endif // !defined(AFX_BTNENH_H__56F13D02_8CDD_42E1_9A73_46B206613CA4__INCLUDED_)