Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are handles and how are they used?

handles Used
0
Posted

What are handles and how are they used?

0

Handles are numbers which identify objects used by the operating system. Windows, controls and menu items all have handles. Many of the WinFun functions require you to pass a handle as a parameter to identify the object on which you want to operate. Handles are usually obtained using one of the following functions: rnFindWindowByName, rnFindWindowByClass, rnGetButtonHandle, rnGetMainMenuHandle or rnGetSubMenuHandle. Or if you are using COOL:Gen and the object you want to operate on is a window or control in the current procedure, you can use the COOL:Gen built in function GetHandle. Other application development tools also offer handles as window and control properties.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.