%nc - Class Name

Purpose

To provide a specified class name for the application.

Syntax

winio@('%nc[class_name]')

Description

class_name is a standard character string (can be replaced by @) that specifies the new class name. Some applications display the class name in their output.

Notes

The Windows API function FindWindow can be used in order to get a (integer kind=7) handle to another application from its class name. The handle can then be used to target messages. If you want the current application to act as such a target you can specify the class name using %nc.

Example

winio@('%nc[myappclass]')

See also

send_text_message@, %rm (External Message Handler)

 

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited