RE: Get ID/hWnd for active window

new topic     » goto parent     » topic index » view thread      » older message » newer message

> -----Original Message-----
> From: akusaya at gmx.net [mailto:akusaya at gmx.net]

> How can I get win32lib ID or hWnd of the current active
> Window (real Window: create(Window, ...))
>                             ¯¯¯¯¯¯
> Because it is needed for some API functions like
> OpenClipboard(hWnd)
>
> In VB we can use Me.hWnd variable.

You can use getHandle( id ).  If you're in an event handler, and need to
know the id of the control, you can use getSelf().

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu