Changeset 9425 for trunk/src


Ignore:
Timestamp:
Nov 25, 2002, 5:49:48 PM (23 years ago)
Author:
sandervl
Message:

Wine resync

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/comctl32/propsheet.c

    r9394 r9425  
    5757  short x;
    5858  short y;
     59  short cx;
    5960  short cy;
    6061  DWORD id;
     
    433434  if (((MyDLGTEMPLATEEX*)pTemplate)->signature == 0xFFFF)
    434435  {
    435     /* DIALOGEX template */
     436    /* DLGTEMPLATEEX (not defined in any std. header file) */
    436437
    437438    p++;       /* dlgVer    */
     
    443444  else
    444445  {
    445     /* DIALOG template */
     446    /* DLGTEMPLATE */
    446447
    447448    p += 2;    /* style     */
     
    11801181 *
    11811182 *( Based on the code of PROPSHEET_CollectPageInfo)
     1183 * See also dialog.c/DIALOG_ParseTemplate32().
    11821184 */
    11831185
     
    11911193  if (istemplateex)
    11921194  {
    1193     /* DIALOGEX template */
    1194 
     1195    /* DLGTEMPLATEEX (not defined in any std. header file) */
     1196
     1197    TRACE("is DLGTEMPLATEEX\n");
    11951198    p++;       /* dlgVer    */
    11961199    p++;       /* signature */
     
    12011204  else
    12021205  {
    1203     /* DIALOG template */
    1204 
     1206    /* DLGTEMPLATE */
     1207
     1208    TRACE("is DLGTEMPLATE\n");
    12051209    p += 2;    /* style     */
    12061210    p += 2;    /* ext style */
     
    12351239      break;
    12361240    case 0xffff:
    1237       p += 2;
     1241      p += 2; /* 0xffff plus predefined window class ordinal value */
    12381242      break;
    12391243    default:
     
    12431247  }
    12441248
    1245   /*title */
     1249  /* title */
    12461250  TRACE("title %s\n",debugstr_w((LPCWSTR)p));
    12471251  p += lstrlenW((LPCWSTR)p) + 1;
    12481252
    1249   /* font, if DS_FONT set */
     1253  /* font, if DS_SETFONT set */
    12501254  if ((DS_SETFONT & ((istemplateex)?  ((MyDLGTEMPLATEEX*)pTemplate)->style :
    12511255                     pTemplate->style)))
     
    12531257      p+=(istemplateex)?3:1;
    12541258      TRACE("font %s\n",debugstr_w((LPCWSTR)p));
    1255       p += lstrlenW( (LPCWSTR)p ) + 1; /* the font name*/
    1256     }
    1257 
     1259      p += lstrlenW( (LPCWSTR)p ) + 1; /* the font name */
     1260    }
     1261
     1262  /* now process the DLGITEMTEMPLATE(EX) structs (plus custom data)
     1263   * that are following the DLGTEMPLATE(EX) data */
    12581264  TRACE("%d items\n",nrofitems);
    12591265  while (nrofitems > 0)
     
    12611267      p = (WORD*)(((DWORD)p + 3) & ~3); /* DWORD align */
    12621268     
     1269      /* skip header */
    12631270      p += (istemplateex ? sizeof(MyDLGITEMTEMPLATEEX) : sizeof(DLGITEMTEMPLATE))/sizeof(WORD);
    12641271     
     1272      /* check class */
    12651273      switch ((WORD)*p)
    12661274        {
     
    12771285          break;
    12781286        }
     1287
     1288      /* check title text */
    12791289      switch ((WORD)*p)
    12801290        {
     
    13571367    return FALSE;
    13581368 
     1369  TRACE("copying pTemplate %p into temp %p (%ld)\n", pTemplate, temp, resSize);
    13591370  memcpy(temp, pTemplate, resSize);
    13601371  pTemplate = temp;
     
    26662677PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
    26672678{
    2668   TRACE("hwnd=%p msg=%x wparam=%x lparam=%lx\n",
     2679  TRACE("hwnd=%p msg=0x%04x wparam=%x lparam=%lx\n",
    26692680        hwnd, uMsg, wParam, lParam);
    26702681
Note: See TracChangeset for help on using the changeset viewer.