Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
733 B

  1. ; Callback-type id's for COMMDLG callbacks. All callback-type id's are
  2. ; 32-bits long and the upper 16-bits must be set to the module's
  3. ; Callback Client id.
  4. ;
  5. ; WARNING -- WARNING -- WARNING
  6. ;
  7. ; Win32c.dll uses the lower 16 bits of CBID's to index directly into
  8. ; the tables stored in COMDLG.EXE (dlgcb16.asm) and COMDLG32.DLL
  9. ; (dlgcb32.asm). Those tables *must* match these id's or callbacks
  10. ; will fail miserably. Do everyone a big favor and add new id's only
  11. ; at the end, and never change an existing id.
  12. ;
  13. CBID_OPENFILENAME equ (0 + (CBCID_COMMDLG SHL 16))
  14. CBID_CHOOSEFONT equ (1 + (CBCID_COMMDLG SHL 16))
  15. CBID_CHOOSECOLOR equ (2 + (CBCID_COMMDLG SHL 16))
  16. CBID_PRINTDLG equ (3 + (CBCID_COMMDLG SHL 16))