dek@cs.utexas.edu (Daryl Krauter) (12/07/89)
You need to put an interposer on the frame to prevent it from resizing.
Below, you will find the necessary incantations.
daryl krauter
electronic data systems (eds)
(214) 490-2737
init_frame()
{
Notify_value w00015_frame_interposer();
frame = window_create(NULL, FRAME, 0);
notify_interpose_event_func(frame,
w00015_frame_interposer,NOTIFY_SAFE);
}
Notify_value
w00015_frame_interposer(client, event, arg, type)
Window client;
Event *event;
Notify_arg arg;
Notify_event_type type;
{
switch (event_id(event)) {
case MS_LEFT:
case MS_MIDDLE:
if (event_ctrl_is_down(event))
return NOTIFY_DONE;
break;
}
return notify_next_event_func(client, event, arg, type);
}