tile/cascade changing window size - LONG - OS2

This is a discussion on tile/cascade changing window size - LONG - OS2 ; I have a problem with ClipView in that selecting it from the window list and choosing tile or cascade causes it to move (expected) and change size ( not expected). I have attached a trace below. Those lines marked "Client" ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: tile/cascade changing window size - LONG

  1. tile/cascade changing window size - LONG

    I have a problem with ClipView in that selecting it from the window list and choosing tile or cascade causes it to move (expected) and change size ( not expected).

    I have attached a trace below. Those lines marked "Client" are from the normal window procedure. Those marked "Frame" are form a subclassed procedure off the Frame.

    instdata.OldProc = WinSubclassWindow(hwndFrame, Clp_SizeProc);

    Up to line 31 is CV starting up. Then *something* keeps sending WM_QUERYICON. No idea what.

    Then I selected CV from the window list, RMB and tile.

    Anyone spot anything? TIA

    Line # / where / msg / mp1 / short1 / short 2 / mp2 / short1 / short2
    ================================================
    1 Client WM_CREATE 00000000 0000 0000 0283FC04 FC04 0283
    2 Client WM_CONTROLHEAP 00000000 0000 0000 8000050A 050A 8000
    3 Client WM_ADJUSTWINDOWPOS 0283FBE0 FBE0 0283 00000000 0000 0000
    4 Frame WM_ADJUSTWINDOWPOS 1C75E68C E68C 1C75 00000000 0000 0000
    5 Frame WM_QUERYTRACKINFO 00000100 0100 0000 0283FA80 FA80 0283
    6 Frame WM_QUERYBORDERSIZE 0283F930 F930 0283 00000000 0000 0000
    7 Frame WM_ADJUSTFRAMEPOS 1C75E68C E68C 1C75 1C75E618 E618 1C75
    8 Frame WM_CALCVALIDRECTS 1C75E66C E66C 1C75 1C75E68C E68C 1C75
    9 Frame WM_MOVE 00000000 0000 0000 00000000 0000 0000
    10 Client WM_MOVE 00000000 0000 0000 00000000 0000 0000
    11 Frame WM_WINDOWPOSCHANGED 1C75E624 E624 1C75 00000000 0000 0000
    12 Frame WM_QUERYFRAMECTLCOUNT 00000000 0000 0000 00000000 0000 0000
    13 Frame WM_FORMATFRAME 1C75E100 E100 1C75 00000000 0000 0000
    14 Client WM_FORMATFRAME 1C75E100 E100 1C75 00000000 0000 0000
    15 Frame WM_QUERYBORDERSIZE 0283F8A0 F8A0 0283 00000000 0000 0000
    16 Client WM_MOVE 00000000 0000 0000 00000000 0000 0000
    17 Client WM_WINDOWPOSCHANGED 1C75E944 E944 1C75 00000000 0000 0000
    18 Client WM_SIZE 00000000 0000 0000 005F019E 019E 005F
    19 Client WM_SHOW 00000001 0001 0000 00000000 0000 0000
    20 Client WM_DRAWCLIPBOARD 00000000 0000 0000 00000000 0000 0000
    21 Frame WM_ADJUSTWINDOWPOS 1C75E68C E68C 1C75 00000000 0000 0000
    22 Frame WM_ADJUSTFRAMEPOS 1C75E68C E68C 1C75 1C75E618 E618 1C75
    23 Frame WM_WINDOWPOSCHANGED 1C75E624 E624 1C75 00000000 0000 0000
    24 Frame WM_PAINT 00000000 0000 0000 00000000 0000 0000
    25 Frame WM_QUERYBORDERSIZE 0283F790 F790 0283 00000000 0000 0000
    26 Client WM_ERASEBACKGROUND 01000541 0541 0100 0283F740 F740 0283
    27 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    28 Frame WM_SETHELPINFO 800005E7 05E7 8000 00000000 0000 0000
    29 Frame WM_QUERYWINDOWPARAMS 0283FCD8 FCD8 0283 00000000 0000 0000
    30 Client WM_PAINT 00000000 0000 0000 00000000 0000 0000
    31 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    32 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    33 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    34 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    35 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    36 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    37 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    38 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    39 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    40 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    41 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    42 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    43 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    44 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    45 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    46 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    47 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    48 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    49 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    50 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    51 Frame WM_PAINT 00000000 0000 0000 00000000 0000 0000
    52 Frame WM_QUERYBORDERSIZE 0283FC50 FC50 0283 00000000 0000 0000
    53 Client WM_ERASEBACKGROUND 01000761 0761 0100 0283FC00 FC00 0283
    54 Client WM_PAINT 00000000 0000 0000 00000000 0000 0000
    55 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    56 Frame Unknown code 0407 00000000 0000 0000 00000000 0000 0000
    57 Client Unknown code 0407 00000000 0000 0000 00000000 0000 0000
    58 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    59 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    60 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    61 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    62 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    63 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    64 Frame Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    65 Client Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    66 Frame Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    67 Client Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    68 Frame Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    69 Client Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    70 Frame Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    71 Client Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    72 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    73 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    74 Frame WM_QUERYFOCUSCHAIN 00000004 0004 0000 00000000 0000 0000
    75 Client WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    76 Frame WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    77 Frame WM_ADJUSTWINDOWPOS 1C75E9AC E9AC 1C75 00000000 0000 0000
    78 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    79 Frame WM_ADJUSTFRAMEPOS 1C75E9AC E9AC 1C75 1C75E938 E938 1C75
    80 Frame WM_WINDOWPOSCHANGED 1C75E944 E944 1C75 00080000 0000 0008
    81 Frame WM_QUERYFOCUSCHAIN 00000004 0004 0000 00000000 0000 0000
    82 Client WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    83 Frame WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    84 Frame WM_ADJUSTWINDOWPOS 1C72CD94 CD94 1C72 00000000 0000 0000
    85 Frame WM_ADJUSTFRAMEPOS 1C72CD94 CD94 1C72 1C72CD20 CD20 1C72
    86 Frame WM_WINDOWPOSCHANGED 1C72CD2C CD2C 1C72 00080000 0000 0008
    87 Client WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    88 Frame WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    89 Client WM_QUERYFOCUSCHAIN 00000005 0005 0000 80000015 0015 8000
    90 Client WM_QUERYFOCUSCHAIN 00000001 0001 0000 00000000 0000 0000
    91 Frame WM_QUERYFOCUSCHAIN 00000005 0005 0000 80000015 0015 8000
    92 Frame WM_QUERYFOCUSCHAIN 00000001 0001 0000 00000000 0000 0000
    93 Client WM_FOCUSCHANGE 80000015 0015 8000 00000001 0001 0000
    94 Frame WM_FOCUSCHANGE 80000015 0015 8000 00000001 0001 0000
    95 Client WM_QUERYFOCUSCHAIN 00000003 0003 0000 00000000 0000 0000
    96 Client WM_QUERYDLGCODE 00000000 0000 0000 00000000 0000 0000
    97 Client WM_QUERYFOCUSCHAIN 00000003 0003 0000 00000000 0000 0000
    98 Frame WM_ADJUSTWINDOWPOS 1C75ECCC ECCC 1C75 00000000 0000 0000
    99 Frame WM_ADJUSTFRAMEPOS 1C75ECCC ECCC 1C75 1C75EC58 EC58 1C75
    100 Frame WM_WINDOWPOSCHANGED 1C75EC64 EC64 1C75 00000000 0000 0000
    101 Frame WM_ACTIVATE 00000001 0001 0000 80000453 0453 8000
    102 Client WM_ACTIVATE 00000001 0001 0000 80000453 0453 8000
    103 Client WM_SETSELECTION 00000001 0001 0000 00000000 0000 0000
    104 Client WM_SETFOCUS 80000015 0015 8000 00000001 0001 0000
    105 Frame WM_QUERYFOCUSCHAIN 00000001 0001 0000 00000000 0000 0000
    106 Client WM_FOCUSCHANGED 80000015 0015 8000 00000001 0001 0000
    107 Frame Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    108 Client Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    109 Frame WM_ADJUSTWINDOWPOS 1C75E68C E68C 1C75 00000000 0000 0000
    110 Frame WM_ADJUSTFRAMEPOS 1C75E68C E68C 1C75 1C75E618 E618 1C75
    111 Frame Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    112 Client Unknown code 043F 00000000 0000 0000 00000000 0000 0000
    113 Frame Unknown code 0130 00000000 0000 0000 00000000 0000 0000
    114 Frame WM_ADJUSTWINDOWPOS 1C75E68C E68C 1C75 00000000 0000 0000
    115 Frame WM_QUERYTRACKINFO 00000100 0100 0000 0283FB00 FB00 0283
    116 Frame WM_ADJUSTFRAMEPOS 1C75E68C E68C 1C75 1C75E618 E618 1C75
    117 Frame WM_CALCVALIDRECTS 1C75E66C E66C 1C75 1C75E68C E68C 1C75
    118 Frame WM_MOVE 00000000 0000 0000 00000000 0000 0000
    119 Frame WM_PAINT 00000000 0000 0000 00000000 0000 0000
    120 Frame WM_QUERYBORDERSIZE 0283FC50 FC50 0283 00000000 0000 0000
    121 Client WM_ERASEBACKGROUND 01000911 0911 0100 0283FC00 FC00 0283
    122 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    123 Client WM_PAINT 00000000 0000 0000 00000000 0000 0000
    124 Client WM_MOVE 00000000 0000 0000 00000000 0000 0000
    125 Frame WM_WINDOWPOSCHANGED 1C75E624 E624 1C75 00000000 0000 0000
    126 Frame WM_QUERYFRAMECTLCOUNT 00000000 0000 0000 00000000 0000 0000
    127 Frame WM_FORMATFRAME 1C75E100 E100 1C75 00000000 0000 0000
    128 Client WM_FORMATFRAME 1C75E100 E100 1C75 00000000 0000 0000
    129 Frame WM_QUERYBORDERSIZE 0283F8F0 F8F0 0283 00000000 0000 0000
    130 Client WM_WINDOWPOSCHANGED 1C75E944 E944 1C75 00000000 0000 0000
    131 Client WM_SIZE 005F019E 019E 005F 0257043A 043A 0257
    132 Frame WM_PAINT 00000000 0000 0000 00000000 0000 0000
    133 Frame WM_QUERYBORDERSIZE 0283F978 F978 0283 00000000 0000 0000
    134 Client WM_ERASEBACKGROUND 01000A3D 0A3D 0100 0283F928 F928 0283
    135 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    136 Client WM_PAINT 00000000 0000 0000 00000000 0000 0000
    137 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    138 Frame WM_QUERYICON 00000000 0000 0000 00000000 0000 0000
    139 Client WM_FOCUSCHANGE 80000482 0482 8000 00040000 0000 0004
    140 Frame WM_FOCUSCHANGE 80000482 0482 8000 00040000 0000 0004
    141 Client WM_QUERYFOCUSCHAIN 00000003 0003 0000 00000000 0000 0000
    142 Frame WM_ADJUSTWINDOWPOS 1C75E68C E68C 1C75 00000000 0000 0000
    143 Frame WM_ADJUSTFRAMEPOS 1C75E68C E68C 1C75 1C75E618 E618 1C75
    144 Frame WM_WINDOWPOSCHANGED 1C75E624 E624 1C75 00000000 0000 0000
    145 Client WM_SETFOCUS 80000482 0482 8000 00000000 0000 0000
    146 Client WM_SETSELECTION 00000000 0000 0000 00000000 0000 0000
    147 Frame WM_ACTIVATE 00000000 0000 0000 80000453 0453 8000
    148 Client WM_ACTIVATE 00000000 0000 0000 80000453 0453 8000
    149 Frame WM_QUERYFOCUSCHAIN 00000001 0001 0000 00000000 0000 0000
    150 Client WM_QUERYFOCUSCHAIN 00000002 0002 0000 80000001 0001 8000
    ============================================

    --

    Regards

    Dave Saville

    NB Remove no-spam- for good email address



  2. Re: tile/cascade changing window size - LONG

    DS> I have a problem with ClipView in that selecting it from the window
    DS> list and choosing tile or cascade causes it to move (expected) and
    DS> change size ( not expected).

    It sounds like the problem is with your expectations. Why do you expect
    "tile" *not* to change the size of the window? Did you never see Windows 1?



  3. Re: tile/cascade changing window size - LONG

    On Fri, 24 Dec 2004 04:41:48 GMT, Jonathan de Boyne Pollard wrote:

    >
    >
    >DS> I have a problem with ClipView in that selecting it from the window
    >DS> list and choosing tile or cascade causes it to move (expected) and
    >DS> change size ( not expected).
    >
    >It sounds like the problem is with your expectations. Why do you expect
    >"tile" *not* to change the size of the window? Did you never see Windows 1?
    >
    >


    Thankfully no :-)

    I have fixed it now. I allow the width to change but not the height, as
    if there are N clips showing making the frame 20 high does not achieve
    much except waste screen real estate. It will be in CV 2.9.

    --

    Regards

    Dave Saville

    NB Remove no-spam- for good email address



+ Reply to Thread