delio
delio

Reputation: 91

Getting the HWND of a widget in Qt

I have a QFrame widget, and I need to get the HWND associated with it. Is there a way to get HWND of a widget in Qt?

Upvotes: 7

Views: 18278

Answers (1)

sashoalm
sashoalm

Reputation: 79467

You can use QWidget::winId() to get the HWND associated with a widget.

Upvotes: 15

Related Questions