Ignore:
Timestamp:
Oct 24, 1999, 1:05:05 AM (26 years ago)
Author:
sandervl
Message:

Combobox + windowpos changes + fixes

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32

    • Property svn:ignore set to
      user32.lrf
      user32exp.def
      resource.asm
  • trunk/src/user32/button.cpp

    r1368 r1425  
    1 /* $Id: button.cpp,v 1.13 1999-10-20 06:38:08 sandervl Exp $ */
     1/* $Id: button.cpp,v 1.14 1999-10-23 23:04:32 sandervl Exp $ */
    22/* File: button.cpp -- Button type widgets
    33 *
     
    1717#include "button.h"
    1818#include <misc.h>
     19#include "initterm.h"
    1920
    2021//Prototypes
     
    128129  {
    129130    BITMAP bmp;
    130     HINSTANCE hinst;
    131 
    132     //CB: Open32 hack to load our own bitmap
    133     hinst = LoadLibraryA("USER32.DLL");
    134     hbitmapCheckBoxes = NativeLoadBitmap(hinst,MAKEINTRESOURCEA(OBM_CHECKBOXES));
    135     FreeLibrary(hinst);
     131
     132    hbitmapCheckBoxes = LoadBitmapA(hInstanceUser32, MAKEINTRESOURCEA(OBM_CHECKBOXES));
     133    GetObjectA( hbitmapCheckBoxes, sizeof(bmp), &bmp );
    136134    if (GetObjectA(hbitmapCheckBoxes,sizeof(bmp),&bmp))
    137135    {
Note: See TracChangeset for help on using the changeset viewer.