Format window functions

In this section:

The following functions are primarily for use with WINIO@.

ADD_CURSOR_MONITOR@

Names a call-back function that monitors which window or control has the cursor.

ADD_FOCUS_MONITOR@

Names a call-back function that monitors which window or control has the focus.

ADD_KEYBOARD_MONITOR@

Names a call-back function that monitors the use of the keyboard.

ADD_MENU_ITEM@

Creates a dynamic menu using %mn.

CHANGE_BUTTON_TEXT@

Dynamically changes the text on a %bt or %tt button.

DISPLAY_POPUP_MENU@

Activates a popup menu defined using %pm.

FREEZE_WINDOW_CONTENTS@

Temporarily freezes the display of a window whilst multiple changes are made to its appearance.

GET_MOUSE_INFO@

Obtains the position of the mouse, the mouse buttons, and the keyboard shift keys at the time when the last owner-draw (%^dw) or graphics region (%^gr) call-back function was called.

GET_WINDOW_LOCATION@

Gets the location and size of a given window.

MOVE_WINDOW@

Moves a window given its handle.

PERMIT_ANOTHER_CALLBACK@

Allows another call-back function to be called.

PERMIT_CALLBACK_IN_WINDOW@

Allows another call-back function to be called in a specified window.

REMOVE_CURSOR_MONITOR@

Releases a call-back function that monitors which window or control has the cursor.

REMOVE_FOCUS_MONITOR@

Releases a call-back function that monitors which window or control has the focus.

REMOVE_MENU_ITEM@

Removes a dynamically attached %mn menu item.

REPLY_TO_TEXT_MESSAGE@

Replies to a message from an application that uses SEND_TEXT_MESSAGE@

RESIZE_WINDOW@

Resizes a window given its window handle.

SEE_PROPERTYSHEET_PAGE@

Sets the sheet number for %ps.

SEE_TREEVIEW_SELECTION@

Ensures that the current %tv item is visible.

SEND_TEXT_MESSAGE@

Sends a message to an application that uses %rm.

SET_CLEARWIN_STYLE@

Modifies the default styling controls for format windows

SET_CONTROL_TEXT_COLOUR@

Changes the colour of a text control.

SET_CONTROL_VISIBILITY@

Shows or hides a control or window.

SET_HIGHLIGHTED@

Selects all of the text in a %rd, %rf or %rs edit box.

SET_MAXIMUM_DIALOG_SIZE@

Increases the maximum permitted dimensions for a fixed sized window.

SET_OLD_RESIZE_MECHANISM@

Reverts to the old ClearWin+ resizing strategy.

UNFREEZE_WINDOW_CONTENTS@

Restores a window after using FREEZE_WINDOW_CONTENTS@.

USE_RESOURCE_LIBRARY@

To specify the name of a DLL that contains resources.

WINSTYLE@

Provide a default style for all subsequent winio@ windows.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited