View Full Version : Example of QWidget::create required

21st October 2009, 12:09
Does anyone have a working example of QWidget::create.
I am trying to embed a widget derived from QWidget into an existing native window created by another process, but have 3 problems when calling "create(native_handle)" in my constructor:
1. I get this warning: QWidget:: create: Failed to set window procedure (Access is denied).
2. My new widget seems to be offset within the native window by the x,y top left corner screen values of the native window.
3. My new widget does not seem to get any input events (presumably because of the "Access is denied" issue).