Changeset 1431 for trunk/src


Ignore:
Timestamp:
Oct 25, 1999, 12:50:46 AM (26 years ago)
Author:
sandervl
Message:

RegisterClass even if atom exists

Location:
trunk/src
Files:
22 edited

Legend:

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

    r1100 r1431  
    1 /* $Id: animate.c,v 1.5 1999-10-01 15:53:31 cbratschi Exp $ */
     1/* $Id: animate.c,v 1.6 1999-10-24 22:49:42 sandervl Exp $ */
    22/*
    33 * Animation control
     
    446446    WNDCLASSA wndClass;
    447447
    448     if (GlobalFindAtomA (ANIMATE_CLASSA)) return;
     448//SvL: Don't check this now
     449//    if (GlobalFindAtomA (ANIMATE_CLASSA)) return;
    449450
    450451    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/comboex.c

    r496 r1431  
    1 /* $Id: comboex.c,v 1.4 1999-08-14 16:13:09 cbratschi Exp $ */
     1/* $Id: comboex.c,v 1.5 1999-10-24 22:49:42 sandervl Exp $ */
    22/*
    33 * ComboBoxEx control
     
    313313    WNDCLASSA wndClass;
    314314
    315     if (GlobalFindAtomA (WC_COMBOBOXEXA)) return;
     315//SvL: Don't check this now
     316//    if (GlobalFindAtomA (WC_COMBOBOXEXA)) return;
    316317
    317318    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/datetime.c

    r496 r1431  
    1 /* $Id: datetime.c,v 1.4 1999-08-14 16:13:10 cbratschi Exp $ */
     1/* $Id: datetime.c,v 1.5 1999-10-24 22:49:42 sandervl Exp $ */
    22/*
    33 * Date and time picker control
     
    522522    WNDCLASSA wndClass;
    523523
    524     if (GlobalFindAtomA (DATETIMEPICK_CLASSA)) return;
     524//SvL: Don't check this now
     525//    if (GlobalFindAtomA (DATETIMEPICK_CLASSA)) return;
    525526
    526527    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/flatsb.c

    r496 r1431  
    1 /* $Id: flatsb.c,v 1.4 1999-08-14 16:13:10 cbratschi Exp $ */
     1/* $Id: flatsb.c,v 1.5 1999-10-24 22:49:43 sandervl Exp $ */
    22/*
    33 * Flat Scrollbar control
     
    155155    WNDCLASSA wndClass;
    156156
    157     if (GlobalFindAtomA (FLATSB_CLASSA)) return;
     157//SvL: Don't check this now
     158//    if (GlobalFindAtomA (FLATSB_CLASSA)) return;
    158159
    159160    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/header.c

    r1175 r1431  
    1 /* $Id: header.c,v 1.17 1999-10-07 21:00:41 cbratschi Exp $ */
     1/* $Id: header.c,v 1.18 1999-10-24 22:49:43 sandervl Exp $ */
    22/*
    33 *  Header control
     
    24912491    WNDCLASSA wndClass;
    24922492
    2493     if (GlobalFindAtomA (WC_HEADERA)) return;
     2493//SvL: Don't check this now
     2494//    if (GlobalFindAtomA (WC_HEADERA)) return;
    24942495
    24952496    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/hotkey.c

    r1100 r1431  
    1 /* $Id: hotkey.c,v 1.12 1999-10-01 15:53:32 cbratschi Exp $ */
     1/* $Id: hotkey.c,v 1.13 1999-10-24 22:49:43 sandervl Exp $ */
    22/*
    33 * Hotkey control
     
    774774    WNDCLASSA wndClass;
    775775
    776     if (GlobalFindAtomA (HOTKEY_CLASSA)) return;
     776//SvL: Don't check this now
     777//    if (GlobalFindAtomA (HOTKEY_CLASSA)) return;
    777778
    778779    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/ipaddress.c

    r496 r1431  
    1 /* $Id: ipaddress.c,v 1.7 1999-08-14 16:13:11 cbratschi Exp $ */
     1/* $Id: ipaddress.c,v 1.8 1999-10-24 22:49:44 sandervl Exp $ */
    22/*
    33 * IP Address control
     
    659659    WNDCLASSA wndClass;
    660660
    661     if (GlobalFindAtomA (WC_IPADDRESSA)) return;
     661//SvL: Don't check this now
     662//    if (GlobalFindAtomA (WC_IPADDRESSA)) return;
    662663
    663664    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/listview.c

    r1156 r1431  
    70057005  WNDCLASSA wndClass;
    70067006
    7007   if (!GlobalFindAtomA(WC_LISTVIEWA))
    7008   {
     7007//SvL: Don't check this now
     7008//  if (!GlobalFindAtomA(WC_LISTVIEWA))
     7009//  {
    70097010    ZeroMemory(&wndClass, sizeof(WNDCLASSA));
    70107011    wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
     
    70167017    wndClass.lpszClassName = WC_LISTVIEWA;
    70177018    RegisterClassA(&wndClass);
    7018   }
     7019//  }
    70197020}
    70207021
  • trunk/src/comctl32/makefile

    r1402 r1431  
    1 # $Id: makefile,v 1.16 1999-10-22 18:04:10 sandervl Exp $
     1# $Id: makefile,v 1.17 1999-10-24 22:49:45 sandervl Exp $
    22#
    33# PD-Win32 API
     
    7979
    8080clean:
    81         $(RM) *.obj *.lib *.dll *~ *.map *.pch
     81        $(RM) *.obj *.lib *.dll *.map *.pch
    8282        $(RM) $(PDWIN32_BIN)\$(TARGET).dll
    8383        $(RM) $(PDWIN32_LIB)\$(TARGET).lib
  • trunk/src/comctl32/monthcal.c

    r496 r1431  
    15871587    WNDCLASSA wndClass;
    15881588
    1589     if (GlobalFindAtomA (MONTHCAL_CLASSA)) return;
     1589//SvL: Don't check this now
     1590//    if (GlobalFindAtomA (MONTHCAL_CLASSA)) return;
    15901591
    15911592    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/nativefont.c

    r496 r1431  
    1 /* $Id: nativefont.c,v 1.4 1999-08-14 16:13:12 cbratschi Exp $ */
     1/* $Id: nativefont.c,v 1.5 1999-10-24 22:49:45 sandervl Exp $ */
    22/*
    33 * Native Font control
     
    8686    WNDCLASSA wndClass;
    8787
    88     if (GlobalFindAtomA (WC_NATIVEFONTCTLA)) return;
     88//SvL: Don't check this now
     89//    if (GlobalFindAtomA (WC_NATIVEFONTCTLA)) return;
    8990
    9091    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/pager.c

    r496 r1431  
    1 /* $Id: pager.c,v 1.4 1999-08-14 16:13:12 cbratschi Exp $ */
     1/* $Id: pager.c,v 1.5 1999-10-24 22:49:45 sandervl Exp $ */
    22/*
    33 * Pager control
     
    367367    WNDCLASSA wndClass;
    368368
    369     if (GlobalFindAtomA (WC_PAGESCROLLERA)) return;
     369//SvL: Don't check this now
     370//    if (GlobalFindAtomA (WC_PAGESCROLLERA)) return;
    370371
    371372    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/progress.c

    r603 r1431  
    1 /* $Id: progress.c,v 1.10 1999-08-21 12:10:01 cbratschi Exp $ */
     1/* $Id: progress.c,v 1.11 1999-10-24 22:49:46 sandervl Exp $ */
    22/*
    33 * Progress control
     
    575575    WNDCLASSA wndClass;
    576576
    577     if (GlobalFindAtomA(PROGRESS_CLASSA)) return;
     577//SvL: Don't check this now
     578//    if (GlobalFindAtomA(PROGRESS_CLASSA)) return;
    578579
    579580    ZeroMemory (&wndClass, sizeof( WNDCLASSA));
  • trunk/src/comctl32/rebar.c

    r496 r1431  
    1 /* $Id: rebar.c,v 1.8 1999-08-14 16:13:12 cbratschi Exp $ */
     1/* $Id: rebar.c,v 1.9 1999-10-24 22:49:46 sandervl Exp $ */
    22/*
    33 * Rebar control
     
    20312031    WNDCLASSA wndClass;
    20322032
    2033     if (GlobalFindAtomA (REBARCLASSNAMEA)) return;
     2033//SvL: Don't check this now
     2034//    if (GlobalFindAtomA (REBARCLASSNAMEA)) return;
    20342035
    20352036    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/status.c

    r1058 r1431  
    1 /* $Id: status.c,v 1.11 1999-09-26 11:01:10 achimha Exp $ */
     1/* $Id: status.c,v 1.12 1999-10-24 22:49:46 sandervl Exp $ */
    22/*
    33 * Interface code to StatusWindow widget/control
     
    12961296    WNDCLASSA wndClass;
    12971297
    1298     if (GlobalFindAtomA (STATUSCLASSNAMEA)) return;
     1298//SvL: Don't check this now
     1299//    if (GlobalFindAtomA (STATUSCLASSNAMEA)) return;
    12991300
    13001301    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/tab.c

    r1402 r1431  
    1 /* $Id: tab.c,v 1.14 1999-10-22 18:04:12 sandervl Exp $ */
     1/* $Id: tab.c,v 1.15 1999-10-24 22:49:47 sandervl Exp $ */
    22/*
    33 * Tab control
     
    20202020  WNDCLASSA wndClass;
    20212021
    2022   if (GlobalFindAtomA (WC_TABCONTROLA)) return;
     2022//SvL: Don't check this now
     2023//  if (GlobalFindAtomA (WC_TABCONTROLA)) return;
    20232024
    20242025  ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/toolbar.c

    r1402 r1431  
    1 /* $Id: toolbar.c,v 1.15 1999-10-22 18:04:13 sandervl Exp $ */
     1/* $Id: toolbar.c,v 1.16 1999-10-24 22:49:47 sandervl Exp $ */
    22/*
    33 * Toolbar control
     
    41934193    WNDCLASSA wndClass;
    41944194
    4195     if (GlobalFindAtomA (TOOLBARCLASSNAMEA)) return;
     4195//SvL: Don't check this now
     4196//    if (GlobalFindAtomA (TOOLBARCLASSNAMEA)) return;
    41964197
    41974198    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/tooltips.c

    r1058 r1431  
    1 /* $Id: tooltips.c,v 1.14 1999-09-26 11:01:11 achimha Exp $ */
     1/* $Id: tooltips.c,v 1.15 1999-10-24 22:49:49 sandervl Exp $ */
    22/*
    33 * Tool tip control
     
    23822382    WNDCLASSA wndClass;
    23832383
    2384     if (GlobalFindAtomA (TOOLTIPS_CLASSA)) return;
     2384//SvL: Don't check this now
     2385//    if (GlobalFindAtomA (TOOLTIPS_CLASSA)) return;
    23852386
    23862387    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/trackbar.c

    r1139 r1431  
    1 /* $Id: trackbar.c,v 1.20 1999-10-05 16:05:17 cbratschi Exp $ */
     1/* $Id: trackbar.c,v 1.21 1999-10-24 22:49:49 sandervl Exp $ */
    22/*
    33 * Trackbar control
     
    24912491    WNDCLASSA wndClass;
    24922492
    2493     if (GlobalFindAtomA (TRACKBAR_CLASSA)) return;
     2493//SvL: Don't check this now
     2494//    if (GlobalFindAtomA (TRACKBAR_CLASSA)) return;
    24942495
    24952496    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/treeview.c

    r496 r1431  
    1 /* $Id: treeview.c,v 1.10 1999-08-14 16:13:16 cbratschi Exp $ */
     1/* $Id: treeview.c,v 1.11 1999-10-24 22:49:50 sandervl Exp $ */
    22/* Treeview control
    33 *
     
    37653765//    TRACE (treeview,"\n");
    37663766
    3767     if (GlobalFindAtomA (WC_TREEVIEWA)) return;
     3767//SvL: Don't check this now
     3768//    if (GlobalFindAtomA (WC_TREEVIEWA)) return;
    37683769
    37693770    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
  • trunk/src/comctl32/updown.c

    r968 r1431  
    1 /* $Id: updown.c,v 1.9 1999-09-18 12:21:26 cbratschi Exp $ */
     1/* $Id: updown.c,v 1.10 1999-10-24 22:49:50 sandervl Exp $ */
    22/*
    33 * Updown control
     
    11641164    WNDCLASSA wndClass;
    11651165
    1166     if( GlobalFindAtomA( UPDOWN_CLASSA ) ) return;
     1166//SvL: Don't check this now
     1167//    if( GlobalFindAtomA( UPDOWN_CLASSA ) ) return;
    11671168
    11681169    ZeroMemory( &wndClass, sizeof( WNDCLASSA ) );
  • trunk/src/shell32/shlview.cpp

    r1215 r1431  
    1 /* $Id: shlview.cpp,v 1.2 1999-10-09 11:17:06 sandervl Exp $ */
     1/* $Id: shlview.cpp,v 1.3 1999-10-24 22:50:46 sandervl Exp $ */
    22/*
    33 *      ShellView
     
    12851285
    12861286        /*if our window class has not been registered, then do so*/
    1287         if(!GetClassInfoA(shell32_hInstance, SV_CLASS_NAME, &wc))
    1288         {
     1287//SvL: Don't check this now
     1288//      if(!GetClassInfoA(shell32_hInstance, SV_CLASS_NAME, &wc))
     1289//      {
    12891290          ZeroMemory(&wc, sizeof(wc));
    12901291          wc.style              = CS_HREDRAW | CS_VREDRAW;
     
    13011302          if(!RegisterClassA(&wc))
    13021303            return E_FAIL;
    1303         }
     1304//      }
    13041305
    13051306        *phWnd = CreateWindowExA(0,
Note: See TracChangeset for help on using the changeset viewer.