Changeset 11685


Ignore:
Timestamp:
Oct 1, 1999, 12:15:23 PM (26 years ago)
Author:
sandervl
Message:

EB's fixes

Location:
tags/trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/user32/combo.cpp

    r11541 r11685  
    1 /* $Id: combo.cpp,v 1.1 1999-09-15 23:18:48 sandervl Exp $ */
     1/* $Id: combo.cpp,v 1.2 1999-10-01 10:15:22 sandervl Exp $ */
    22/*
    33 * Combo controls
     
    12251225HWND COMBO_GetLBWindow( HWND hwnd )
    12261226{
    1227   LPHEADCOMBO       lphc = CB_GETPTR(hwnd);
    1228   if( lphc ) return lphc->hWndLBox;
     1227  LPHEADCOMBO   lphc = NULL;
     1228  LONG          ptr = GetInfoPtr(hwnd);
     1229  if(ptr)
     1230  {
     1231    lphc =  (*(LPHEADCOMBO*)(ptr));
     1232    if( lphc ) return lphc->hWndLBox;
     1233  }
    12291234  return 0;
    12301235}
     
    17561761                             WPARAM wParam, LPARAM lParam )
    17571762{
    1758       LPHEADCOMBO       lphc = CB_GETPTR(hwnd);
     1763      LPHEADCOMBO   lphc = NULL;
     1764      LONG          ptr = GetInfoPtr(hwnd);
     1765
     1766      if(ptr)
     1767        lphc = (*(LPHEADCOMBO*)(ptr));
    17591768
    17601769      //TRACE("[%04x]: msg %s wp %08x lp %08lx\n",
  • TabularUnified tags/trunk/src/user32/msgbox.cpp

    r11572 r11685  
    1 /* $Id: msgbox.cpp,v 1.2 1999-09-19 08:24:47 sandervl Exp $ */
     1/* $Id: msgbox.cpp,v 1.3 1999-10-01 10:15:23 sandervl Exp $ */
    22/*
    33 * Win32 message box function for OS/2
     
    1111#include <os2win.h>
    1212#include <misc.h>
     13#include "win32wnd.h"
     14
    1315/*****************************************************************************
    1416 * Name      : int WIN32API MessageBoxExA
     
    142144{
    143145  dprintf(("USER32:  MessageBoxA %s %s\n", lpszText, lpszTitle));
     146  hwndOwner = Win32Window::Win32ToOS2Handle(hwndOwner);
    144147  return(O32_MessageBox(hwndOwner, lpszText, lpszTitle, fuStyle));
    145148}
Note: See TracChangeset for help on using the changeset viewer.