04-14-2013, 05:14 PM
Hi Gintaras,
The solution of using
instead of
works very well because it doesn't interfere when the user want to view windows other than the app frame or it's associated windows. However, it seems to block the ability to drag-select text (LMB down-drag-LMB up). I have tried this in my actual app as well as in wordpad. Any thoughts?
I have rummaged around on web and there is something about using SetParent instead of GWL_HWNDPARENT but not sure if this applies. Thanks again,
S
The solution of using
SetWindowLong WordPadHwnd GWL_HWNDPARENT hDlg ;;now should always be on top of dialog etcworks very well because it doesn't interfere when the user want to view windows other than the app frame or it's associated windows. However, it seems to block the ability to drag-select text (LMB down-drag-LMB up). I have tried this in my actual app as well as in wordpad. Any thoughts?
I have rummaged around on web and there is something about using SetParent instead of GWL_HWNDPARENT but not sure if this applies. Thanks again,
S
