Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External App Dialog Frame with Splitters
#7
Hi Gintaras,

The solution of using

Code:
Copy      Help
SetWindowLong WordPadHwnd GWL_HWNDPARENT hDlg ;;now should always be on top of dialog etc
instead of

Code:
Copy      Help
Zorder AppHwnd1 HWND_TOP SWP_NOACTIVATE
Zorder AppFrameHwnd HWND_BOTTOM

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)