Ignore:
Timestamp:
Oct 2, 2001, 7:14:10 PM (24 years ago)
Author:
sandervl
Message:

small updates for frame tracking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/pmwindow.cpp

    r6902 r6928  
    1 /* $Id: pmwindow.cpp,v 1.149 2001-09-30 22:24:41 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.150 2001-10-02 17:14:09 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
     
    14721472  APIRET    rc;
    14731473  BOOL      ret;
     1474  HWND      hwnd = win32wnd->getWindowHandle();
    14741475
    14751476    if(!fInit) {
     
    14811482        fInit = TRUE;
    14821483    }
    1483     dprintf(("FrameTrackFrame: %x %x", win32wnd->getWindowHandle(), flags));
     1484    dprintf(("FrameTrackFrame: %x %x", hwnd, flags));
    14841485    track.cxBorder = 4;
    14851486    track.cyBorder = 4;  /* 4 pel wide lines used for rectangle */
     
    15161517    BOOL fDynamicDrag = WinQuerySysValue(HWND_DESKTOP, SVOS_DYNAMICDRAG);
    15171518
     1519    //TODO: send WM_QUERYDRAGICON to fetch icon (not really necessary)
     1520
     1521    SendMessageA( hwnd, WM_ENTERSIZEMOVE_W, 0, 0);
     1522
    15181523    SEL sel = RestoreOS2FS();
    15191524    if(fDynamicDrag && WinTrackWindow) {
     
    15221527    else ret = WinTrackRect(hwndTracking, NULL, &track);
    15231528    SetFS(sel);
     1529
     1530//TODO:
     1531//    if (HOOK_CallHooksA( WH_CBT_W, HCBT_MOVESIZE_W, (WPARAM)hwnd, (LPARAM)&sizingRect )) moved = FALSE;
     1532
     1533    SendMessageA( hwnd, WM_EXITSIZEMOVE_W, 0, 0 );
     1534    SendMessageA( hwnd, WM_SETVISIBLE_W, !IsIconic(hwnd), 0L);
    15241535
    15251536    if(ret) {
Note: See TracChangeset for help on using the changeset viewer.