Movatterモバイル変換


[0]ホーム

URL:


rdrr.io

getWindowsHandle: Get a Windows Handle

getWindowsHandleR Documentation

Get a Windows Handle

Description

Get the Windows handle of a window or of theR process in MS Windows.

Usage

getWindowsHandle(which = "Console")

Arguments

which

a string (see below), or the number of a graphics devicewindow (which must awindows one).

Details

getWindowsHandle gets the Windows handle.Possible choices forwhich are:

"Console" The console window handle.
"Frame" The MDI frame window handle.
"Process" The process pseudo-handle.
A device number The window handle of a graphics device

These values are not normally useful to users, but may be used bydevelopers making add-ons toR.

NULL is returned for the Frame handle if not running in MDI mode,for the Console handle when running Rterm, for any unrecognizedstring forwhich, or for a graphics device with nocorresponding window.

Other windows (help browsers, etc.) are not accessiblethrough this function.

Value

An external pointer holding the Windows handle, orNULL.

Note

This is only available on Windows.

See Also

getIdentification,getWindowsHandles

Examples

if(.Platform$OS.type == "windows")  print( getWindowsHandle() )

What can we improve?

R Package Documentation

Browse R Packages

We want your feedback!

Note that we can't provide technical support on individual packages. You should contact the package authors for that.

 
Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, readEmbedding Snippets.

Close

[8]ページ先頭

©2009-2025 Movatter.jp