Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Initial window position – Run from a toolbar button
#5
Dear Gintaras,

I found that window is moved due to

Function MyBrowseForFolder
Code:
Copy      Help
b.hwndOwner=win()

I commented it out and then window is not moved, although it is not anymore on top.

Let me add that win() is the handle of the toolbar the button of which run this command. I think it ought to be the desktop or perhaps the tollbar's owner.
Any advice is welcome.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)