' ########################################################################################
' Microsoft Windows
' File: dlgs.inc
' Contents: UI dialog header information
' Copyright (c) 2011 Jos? Roca
' Portions Copyright (c) Microsoft Corporation.
' All Rights Reserved.
' THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
' EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
' MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
' ########################################################################################
#IF NOT %DEF(PBX_Dlgs_PBI)
#DEFINE PBX_Dlgs_PBI
%EQUATE `DLGS_INC = 1
'//
'// Constant Declarations.
'//
%EQUATE `ctlFirst = &H0400
%EQUATE `ctlLast = &H04FF
'//
'// Push buttons.
'//
%EQUATE `psh1 = &H0400
%EQUATE `psh2 = &H0401
%EQUATE `psh3 = &H0402
%EQUATE `psh4 = &H0403
%EQUATE `psh5 = &H0404
%EQUATE `psh6 = &H0405
%EQUATE `psh7 = &H0406
%EQUATE `psh8 = &H0407
%EQUATE `psh9 = &H0408
%EQUATE `psh10 = &H0409
%EQUATE `psh11 = &H040a
%EQUATE `psh12 = &H040b
%EQUATE `psh13 = &H040c
%EQUATE `psh14 = &H040d
%EQUATE `psh15 = &H040e
%EQUATE `pshHelp = %psh15
%EQUATE `psh16 = &H040f
'//
'// Checkboxes.
'//
%EQUATE `chx1 = &H0410
%EQUATE `chx2 = &H0411
%EQUATE `chx3 = &H0412
%EQUATE `chx4 = &H0413
%EQUATE `chx5 = &H0414
%EQUATE `chx6 = &H0415
%EQUATE `chx7 = &H0416
%EQUATE `chx8 = &H0417
%EQUATE `chx9 = &H0418
%EQUATE `chx10 = &H0419
%EQUATE `chx11 = &H041a
%EQUATE `chx12 = &H041b
%EQUATE `chx13 = &H041c
%EQUATE `chx14 = &H041d
%EQUATE `chx15 = &H041e
%EQUATE `chx16 = &H041f
'//
'// Radio buttons.
'//
%EQUATE `rad1 = &H0420
%EQUATE `rad2 = &H0421
%EQUATE `rad3 = &H0422
%EQUATE `rad4 = &H0423
%EQUATE `rad5 = &H0424
%EQUATE `rad6 = &H0425
%EQUATE `rad7 = &H0426
%EQUATE `rad8 = &H0427
%EQUATE `rad9 = &H0428
%EQUATE `rad10 = &H0429
%EQUATE `rad11 = &H042a
%EQUATE `rad12 = &H042b
%EQUATE `rad13 = &H042c
%EQUATE `rad14 = &H042d
%EQUATE `rad15 = &H042e
%EQUATE `rad16 = &H042f
'//
'// Groups, frames, rectangles, and icons.
'//
%EQUATE `grp1 = &H0430
%EQUATE `grp2 = &H0431
%EQUATE `grp3 = &H0432
%EQUATE `grp4 = &H0433
%EQUATE `frm1 = &H0434
%EQUATE `frm2 = &H0435
%EQUATE `frm3 = &H0436
%EQUATE `frm4 = &H0437
%EQUATE `rct1 = &H0438
%EQUATE `rct2 = &H0439
%EQUATE `rct3 = &H043a
%EQUATE `rct4 = &H043b
%EQUATE `ico1 = &H043c
%EQUATE `ico2 = &H043d
%EQUATE `ico3 = &H043e
%EQUATE `ico4 = &H043f
'//
'// Static text.
'//
%EQUATE `stc1 = &H0440
%EQUATE `stc2 = &H0441
%EQUATE `stc3 = &H0442
%EQUATE `stc4 = &H0443
%EQUATE `stc5 = &H0444
%EQUATE `stc6 = &H0445
%EQUATE `stc7 = &H0446
%EQUATE `stc8 = &H0447
%EQUATE `stc9 = &H0448
%EQUATE `stc10 = &H0449
%EQUATE `stc11 = &H044a
%EQUATE `stc12 = &H044b
%EQUATE `stc13 = &H044c
%EQUATE `stc14 = &H044d
%EQUATE `stc15 = &H044e
%EQUATE `stc16 = &H044f
%EQUATE `stc17 = &H0450
%EQUATE `stc18 = &H0451
%EQUATE `stc19 = &H0452
%EQUATE `stc20 = &H0453
%EQUATE `stc21 = &H0454
%EQUATE `stc22 = &H0455
%EQUATE `stc23 = &H0456
%EQUATE `stc24 = &H0457
%EQUATE `stc25 = &H0458
%EQUATE `stc26 = &H0459
%EQUATE `stc27 = &H045a
%EQUATE `stc28 = &H045b
%EQUATE `stc29 = &H045c
%EQUATE `stc30 = &H045d
%EQUATE `stc31 = &H045e
%EQUATE `stc32 = &H045f
'//
'// Listboxes.
'//
%EQUATE `lst1 = &H0460
%EQUATE `lst2 = &H0461
%EQUATE `lst3 = &H0462
%EQUATE `lst4 = &H0463
%EQUATE `lst5 = &H0464
%EQUATE `lst6 = &H0465
%EQUATE `lst7 = &H0466
%EQUATE `lst8 = &H0467
%EQUATE `lst9 = &H0468
%EQUATE `lst10 = &H0469
%EQUATE `lst11 = &H046a
%EQUATE `lst12 = &H046b
%EQUATE `lst13 = &H046c
%EQUATE `lst14 = &H046d
%EQUATE `lst15 = &H046e
%EQUATE `lst16 = &H046f
'//
'// Combo boxes.
'//
%EQUATE `cmb1 = &H0470
%EQUATE `cmb2 = &H0471
%EQUATE `cmb3 = &H0472
%EQUATE `cmb4 = &H0473
%EQUATE `cmb5 = &H0474
%EQUATE `cmb6 = &H0475
%EQUATE `cmb7 = &H0476
%EQUATE `cmb8 = &H0477
%EQUATE `cmb9 = &H0478
%EQUATE `cmb10 = &H0479
%EQUATE `cmb11 = &H047a
%EQUATE `cmb12 = &H047b
%EQUATE `cmb13 = &H047c
%EQUATE `cmb14 = &H047d
%EQUATE `cmb15 = &H047e
%EQUATE `cmb16 = &H047f
'//
'// Edit controls.
'//
%EQUATE `edt1 = &H0480
%EQUATE `edt2 = &H0481
%EQUATE `edt3 = &H0482
%EQUATE `edt4 = &H0483
%EQUATE `edt5 = &H0484
%EQUATE `edt6 = &H0485
%EQUATE `edt7 = &H0486
%EQUATE `edt8 = &H0487
%EQUATE `edt9 = &H0488
%EQUATE `edt10 = &H0489
%EQUATE `edt11 = &H048a
%EQUATE `edt12 = &H048b
%EQUATE `edt13 = &H048c
%EQUATE `edt14 = &H048d
%EQUATE `edt15 = &H048e
%EQUATE `edt16 = &H048f
'//
'// Scroll bars.
'//
%EQUATE `scr1 = &H0490
%EQUATE `scr2 = &H0491
%EQUATE `scr3 = &H0492
%EQUATE `scr4 = &H0493
%EQUATE `scr5 = &H0494
%EQUATE `scr6 = &H0495
%EQUATE `scr7 = &H0496
%EQUATE `scr8 = &H0497
'//
'// Controls
'//
%EQUATE `ctl1 = &H04A0
'//
'// These dialog resource ordinals really start at 0x0600, but the
'// RC Compiler can't handle hex for resource IDs, hence the decimal.
'//
%EQUATE `FILEOPENORD = 1536
%EQUATE `MULTIFILEOPENORD = 1537
%EQUATE `PRINTDLGORD = 1538
%EQUATE `PRNSETUPDLGORD = 1539
%EQUATE `FINDDLGORD = 1540
%EQUATE `REPLACEDLGORD = 1541
%EQUATE `FONTDLGORD = 1542
%EQUATE `FORMATDLGORD31 = 1543
%EQUATE `FORMATDLGORD30 = 1544
%EQUATE `RUNDLGORD = 1545
'#if (WINVER >= 0x400)
%EQUATE `PAGESETUPDLGORD = 1546
%EQUATE `NEWFILEOPENORD = 1547
%EQUATE `PRINTDLGEXORD = 1549
%EQUATE `PAGESETUPDLGORDMOTIF = 1550
%EQUATE `COLORMGMTDLGORD = 1551
%EQUATE `NEWFILEOPENV2ORD = 1552
'#endif /* WINVER >= 0x400) */
'// 1581 - 1590
'#if (NTDDI_VERSION >= NTDDI_VISTA)
%EQUATE `NEWFILEOPENV3ORD = 1553
'#endif // NTDDI_VISTA
'// 1591 - 1600
'#if (NTDDI_VERSION >= NTDDI_WIN7)
%EQUATE `NEWFORMATDLGWITHLINK = 1591
%EQUATE `IDC_MANAGE_LINK = 1592
'#endif
'//
'// Typedef Declarations.
'//
' // Size = 4 bytes
TYPE CRGB BYTE ' /* RGB Color */
 bRed AS BYTE ' BYTE bRed
 bGreen AS BYTE ' BYTE bGreen
 bBlue AS BYTE ' BYTE bBlue
 bExtra AS BYTE ' BYTE bExtra
END TYPE
#ENDIF
